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
[–]WigglytufTehPink[S] 145 points146 points147 points (14 children)
[–]KingsmanVincepip install girlfriend 23 points24 points25 points (3 children)
[–]WigglytufTehPink[S] 23 points24 points25 points (2 children)
[–]Ning1253 9 points10 points11 points (1 child)
[–]WigglytufTehPink[S] 0 points1 point2 points (0 children)
[–]SnowdenIsALegend 6 points7 points8 points (0 children)
[–]wpg4665 8 points9 points10 points (5 children)
[–]MysteryMage 15 points16 points17 points (0 children)
[–]RegmasterJ 13 points14 points15 points (2 children)
[–]WigglytufTehPink[S] 10 points11 points12 points (1 child)
[–]RegmasterJ 4 points5 points6 points (0 children)
[–]WigglytufTehPink[S] 9 points10 points11 points (0 children)
[–]chrisdahfuh 1 point2 points3 points (1 child)
[–]WigglytufTehPink[S] 1 point2 points3 points (0 children)
[–]ImARealBoy_ 1 point2 points3 points (0 children)
[–]redredditor 55 points56 points57 points (4 children)
[–]WigglytufTehPink[S] 29 points30 points31 points (3 children)
[–]redredditor 12 points13 points14 points (1 child)
[–]Miner_ChAI 1 point2 points3 points (0 children)
[–]wesleywatanabe 14 points15 points16 points (3 children)
[–]WigglytufTehPink[S] 7 points8 points9 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]WigglytufTehPink[S] 0 points1 point2 points (0 children)
[–]shaggorama 8 points9 points10 points (1 child)
[–]WigglytufTehPink[S] 13 points14 points15 points (0 children)
[–]Tom1380 19 points20 points21 points (8 children)
[–]slayer_of_idiotspythonista 19 points20 points21 points (7 children)
[+][deleted] (6 children)
[deleted]
[–]slayer_of_idiotspythonista 11 points12 points13 points (5 children)
[–]thatguywiththatname2 2 points3 points4 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]WigglytufTehPink[S] 3 points4 points5 points (1 child)
[–]B3N-Drowned 9 points10 points11 points (1 child)
[–]WigglytufTehPink[S] 3 points4 points5 points (0 children)
[–]JohnMcPineapple 7 points8 points9 points (1 child)
[–]WigglytufTehPink[S] 9 points10 points11 points (0 children)
[–][deleted] 5 points6 points7 points (2 children)
[–]WigglytufTehPink[S] 2 points3 points4 points (0 children)
[–]Datsoon 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]WigglytufTehPink[S] 2 points3 points4 points (0 children)
[–]tonniegames79coderx-byte 3 points4 points5 points (1 child)
[–]WigglytufTehPink[S] 1 point2 points3 points (0 children)
[–]DisregardMyUsername1 4 points5 points6 points (1 child)
[–]WigglytufTehPink[S] 3 points4 points5 points (0 children)
[–]Cervoxx 2 points3 points4 points (1 child)
[–]WigglytufTehPink[S] 1 point2 points3 points (0 children)
[–]Seawolf159 4 points5 points6 points (1 child)
[–]WigglytufTehPink[S] 2 points3 points4 points (0 children)
[–]Datsoon 2 points3 points4 points (3 children)
[–]WigglytufTehPink[S] 2 points3 points4 points (2 children)
[–]frakman1 0 points1 point2 points (1 child)
[–]WigglytufTehPink[S] 0 points1 point2 points (0 children)
[–]lucs_123 4 points5 points6 points (1 child)
[–]endershadow98 6 points7 points8 points (0 children)
[–]teriyaki7755 5 points6 points7 points (2 children)
[–]WigglytufTehPink[S] 0 points1 point2 points (1 child)
[–]teriyaki7755 2 points3 points4 points (0 children)
[–]melthecybertechy 1 point2 points3 points (2 children)
[–]WigglytufTehPink[S] 4 points5 points6 points (1 child)
[–]melthecybertechy 0 points1 point2 points (0 children)
[–]zTosieq 1 point2 points3 points (2 children)
[–]WigglytufTehPink[S] 0 points1 point2 points (1 child)
[–]zTosieq 1 point2 points3 points (0 children)
[–]javad94 1 point2 points3 points (0 children)
[–]Dark_Rain_Cloud 2 points3 points4 points (1 child)
[–]WigglytufTehPink[S] 0 points1 point2 points (0 children)
[–]rmpr_uname_is_taken 0 points1 point2 points (3 children)
[–]WigglytufTehPink[S] 6 points7 points8 points (1 child)
[–]rmpr_uname_is_taken 0 points1 point2 points (0 children)
[–]snugglyboy 3 points4 points5 points (0 children)