Check out the Best Porn Sites for an ad-free browsing experience!


243,901 subscribers a community for 10 years, 4 months

last post today [+]

news about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python

If you are about to ask a question, please consider r/learnpython or the learn python discord. Homework-style questions will be removed, and you'll be encouraged to post there instead.

Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.

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 Books and Resources

Online exercices

programming challenges

Asking Questions

Try Python in your browser



Related subreddits

  • /r/pythoncoding (strict moderation policy for 'programming only' articles)
  • /r/flask (web microframework)
  • /r/django (web framework for perfectionists with deadlines)
  • /r/pygame (a set of modules designed for writing games)
  • /r/IPython (interactive environment)
  • /r/inventwithpython (for the books written by /u/AlSweigart)
  • /r/pystats (python in statistical analysis and machine learning)
  • /r/coolgithubprojects (filtered on Python projects)
  • /r/pyladies (women developers who love python)
  • /r/git and /r/mercurial - don't forget to put your code in a repo!

Python jobs



this reddit has been tagged

keeping track of 1,160,061 reddits