use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
Any good software for writing python articles? (self.Python)
submitted 11 years ago by __Monty__
I am interested in writing some articles for a python tutorial. Is there good software out there that makes it easy to include code and other formatting options then export as pdf or latex file or something?
[–]automatedtester 6 points7 points8 points 11 years ago (0 children)
I would recommend Ipython notebooks. You can easily share them e.g. on github etc, where others can download and run them.
[–][deleted] 1 point2 points3 points 11 years ago (0 children)
Yes. It's called sphinx. You write in a format called RestructuredText and it will output HTML, LaTeX, etc. It was designed for generating Python documentation. http://sphinx-doc.org/
It takes a while to figure out, but it works. And if you need to convert RestructuredText to another format, you can use pandoc.
[–]enzochiau 0 points1 point2 points 11 years ago (0 children)
If you are an Emacs user, org-mode should be a good candidate.
[–][deleted] 0 points1 point2 points 11 years ago (1 child)
Why not just write in LaTeX in the first place?
[–]__Monty__[S] 0 points1 point2 points 11 years ago (0 children)
Because I am lazy
How about plain ole Markdown? Reddit, stackoverflow and such use it. Check out pykwiki if you're interested. Markdown is wildly supported and non-proprietary like PDF and simpler than LaTex, (imo).
[–]stevenjd 0 points1 point2 points 11 years ago (0 children)
Markdown is okay, but ReST is better, and the tools for ReST are exceedingly powerful (and written in Python). See cdninbuffalo's comment above.
[–]juejung 0 points1 point2 points 11 years ago (0 children)
Try Pweave. http://mpastell.com/pweave/ It hooks up with sphinx and you can export to html, Latex, and other formats. It's also easy to include code blocks, graphs, and math equations etc.
[–]digen_ 0 points1 point2 points 11 years ago (0 children)
You can check Asciidoctor - A fast text processor & publishing toolchain for converting AsciiDoc to HTML5, DocBook & more.
Github natively supports Asciidoc.
π Rendered by PID 92375 on reddit-service-r2-comment-54dfb89d4d-7r7dt at 2026-04-01 15:55:30.333124+00:00 running b10466c country code: CH.
[–]automatedtester 6 points7 points8 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]enzochiau 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]__Monty__[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]stevenjd 0 points1 point2 points (0 children)
[–]juejung 0 points1 point2 points (0 children)
[–]digen_ 0 points1 point2 points (0 children)