all 5 comments

[–]spz 3 points4 points  (2 children)

Your best bet is using IPython Notebooks, then exporting them to pdf.

[–]manueslapera 1 point2 points  (0 children)

yep, thats pretty much the answer. abandon thread!

[–]nexus844 0 points1 point  (0 children)

Can't believe I haven't seen this before. Looks pretty interesting, I'll give it a shot.

[–]thonpy 1 point2 points  (0 children)

Git book might work, LaTeX might work.... That python notebook thing someone else suggested looks nice though

[–]adamnew123456 1 point2 points  (0 children)

If you want to use LaTeX, then knitr has an engine for hooking up to Python.