Subreddit details
Python
(/r/Python)
news about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
If you are about to ask a question, please consider r/learnpython
Please don't use URL shorteners
Posting code to this subreddit
Add 4 extra spaces before each line of code
def fibonacci():
a, b = 0, 1
while 1:
yield a
a, b = b, a + b
Online books
- Learn Python the Hard Way (for Python 2)
- Dive into Python 3 (for Python 3)
- Invent Your Own Computer Games with Python
- Beginner's Guide to Python
- Non-programmers Tutorial for Python 3
- Five life jackets to throw to the new coder (perfect for when you're done with LPTHW)
Online exercices
- codingbat
- pyschools
- codecademy
- /r/dailyprogrammer
programming challenges
- The Python Challenge (solve each level through programming)
- CheckiO (game world)
- Project Euler (math heavy)
Asking Questions
Try Python in your browser
- learnpython.org
- Skulpt (uses WebGL)
- trypython.org (uses Silverlight)
- ideone (online compiler and debugger)
- PythonAnywhere (basic accounts are free)
Docs
- Python 2 docs
- Python 3 docs
- Packaging docs (under development)
- The Hitchhiker's Guide to Python
Libraries
- Twisted, 0MQ (networking)
- Django, Pyramid, ... (Web Frameworks)
- Pygame (Game development)
- NumPy & SciPy (Scientific computing)
Related subreddits
- /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)
Python jobs
48,996 subscribers -
a community for 5 years -
last post
today
[+]

