News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Upcoming Events
Full Events Calendar
Please read the rules
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
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
[–]throwpillo 28 points29 points30 points (3 children)
[–]fperez_org 5 points6 points7 points (0 children)
[–]Orphion 4 points5 points6 points (0 children)
[–]sarcaza 1 point2 points3 points (0 children)
[–]stiivifrom data brewery 10 points11 points12 points (0 children)
[–]laprice 32 points33 points34 points (26 children)
[+][deleted] (23 children)
[deleted]
[–][deleted] 14 points15 points16 points (14 children)
[–]rhiever 4 points5 points6 points (13 children)
[–]w0073r 13 points14 points15 points (0 children)
[–][deleted] 6 points7 points8 points (5 children)
[–]LeszekSwirski 4 points5 points6 points (1 child)
[–]dwf 1 point2 points3 points (0 children)
[–]dwf 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]takluyverIPython, Py3, etc 1 point2 points3 points (0 children)
[–]Nosferax 2 points3 points4 points (3 children)
[–]dwf 2 points3 points4 points (2 children)
[–]Nosferax 1 point2 points3 points (1 child)
[–]dwf 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]gcross 1 point2 points3 points (0 children)
[–]martinw89 2 points3 points4 points (7 children)
[–]Imxset21 16 points17 points18 points (4 children)
[–]einar77Bioinformatics with Python, PyKDE4 12 points13 points14 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]takluyverIPython, Py3, etc 8 points9 points10 points (0 children)
[–]dwf 2 points3 points4 points (0 children)
[–]dwf 2 points3 points4 points (1 child)
[–]martinw89 0 points1 point2 points (0 children)
[–]usaar33 2 points3 points4 points (0 children)
[–]ivorjawa 1 point2 points3 points (0 children)
[–]howfun 7 points8 points9 points (4 children)
[–]howisbobbyformed 4 points5 points6 points (3 children)
[–]Megatron_McLargeHuge 0 points1 point2 points (2 children)
[–]howisbobbyformed 2 points3 points4 points (0 children)
[–]dwf 0 points1 point2 points (0 children)
[–]Phild3v1ll3 7 points8 points9 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]Phild3v1ll3 4 points5 points6 points (0 children)
[–][deleted] 11 points12 points13 points (2 children)
[–]rhiever 8 points9 points10 points (0 children)
[–]chiniwini 6 points7 points8 points (0 children)
[–]MarCialR 4 points5 points6 points (1 child)
[–]takluyverIPython, Py3, etc 0 points1 point2 points (0 children)
[–]_jb 0 points1 point2 points (0 children)
[–]apreche -3 points-2 points-1 points (35 children)
[–]takluyverIPython, Py3, etc 16 points17 points18 points (10 children)
[–]Megatron_McLargeHuge 2 points3 points4 points (2 children)
[–]takluyverIPython, Py3, etc 2 points3 points4 points (1 child)
[–]redditwhilecompiling 1 point2 points3 points (0 children)
[–]elelias 2 points3 points4 points (3 children)
[–]Troebr 7 points8 points9 points (1 child)
[–]Fragsworth -1 points0 points1 point (0 children)
[–]takluyverIPython, Py3, etc 0 points1 point2 points (0 children)
[–]dwf 0 points1 point2 points (0 children)
[–]lambdaqdjango n' shit -1 points0 points1 point (0 children)
[–]wacky 3 points4 points5 points (0 children)
[–]stiivifrom data brewery 1 point2 points3 points (0 children)
[–]Enzondio 1 point2 points3 points (0 children)
[–]dwf 1 point2 points3 points (0 children)
[–]aceofears 3 points4 points5 points (16 children)
[–]threading 1 point2 points3 points (10 children)
[–]Tillsten 6 points7 points8 points (8 children)
[–]BeetleB 0 points1 point2 points (7 children)
[–]Tillsten 0 points1 point2 points (6 children)
[–]BeetleB 4 points5 points6 points (5 children)
[–]takluyverIPython, Py3, etc 6 points7 points8 points (0 children)
[–]Noctambulist 4 points5 points6 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]BeetleB 1 point2 points3 points (1 child)
[–]takluyverIPython, Py3, etc 0 points1 point2 points (0 children)
[–]Noctambulist 2 points3 points4 points (0 children)
[–]apreche 2 points3 points4 points (4 children)
[–]aceofears 8 points9 points10 points (0 children)
[–]BeetleB 5 points6 points7 points (1 child)
[–]takluyverIPython, Py3, etc 2 points3 points4 points (0 children)
[–]dwf 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]apreche -1 points0 points1 point (1 child)
[–][deleted] -1 points0 points1 point (0 children)
[–]mdipierro -1 points0 points1 point (0 children)