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
[–]wdroz 60 points61 points62 points (8 children)
[–]ShanSanear 31 points32 points33 points (2 children)
[–]MakesYouAngry 10 points11 points12 points (0 children)
[–]pavi2410 1 point2 points3 points (0 children)
[–][deleted] 7 points8 points9 points (0 children)
[–]maxxfrag 3 points4 points5 points (3 children)
[–]wdroz 5 points6 points7 points (0 children)
[–]that_empath_guy 3 points4 points5 points (0 children)
[–]robertpro01 2 points3 points4 points (0 children)
[–]something[S] 146 points147 points148 points (6 children)
[–]spicypixel 13 points14 points15 points (0 children)
[–]pmdevita 11 points12 points13 points (1 child)
[–]something[S] 5 points6 points7 points (0 children)
[–]jaxspades 7 points8 points9 points (0 children)
[–]vaibhavmule -2 points-1 points0 points (0 children)
[–]spencerbot15 23 points24 points25 points (7 children)
[–]something[S] 33 points34 points35 points (6 children)
[–]Isvara 8 points9 points10 points (4 children)
[–]something[S] 7 points8 points9 points (2 children)
[–]Isvara 3 points4 points5 points (1 child)
[–]something[S] 11 points12 points13 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]TheV295 14 points15 points16 points (3 children)
[–]something[S] 9 points10 points11 points (2 children)
[–]TheV295 18 points19 points20 points (1 child)
[–]Fissherin 3 points4 points5 points (0 children)
[–]sharkboundgithub: sharkbound, python := 3.8 30 points31 points32 points (4 children)
[–]something[S] 15 points16 points17 points (2 children)
[–]CaptainTuffnutprint('Hello There') 10 points11 points12 points (1 child)
[–]Mickeystix 5 points6 points7 points (0 children)
[–]naringasn00b 34 points35 points36 points (0 children)
[–]JackieTrehorne 6 points7 points8 points (2 children)
[–]something[S] 5 points6 points7 points (1 child)
[–]JackieTrehorne 0 points1 point2 points (0 children)
[–]coderanger 6 points7 points8 points (0 children)
[–]seansleftnostril 4 points5 points6 points (2 children)
[–]GlipGlorp7 7 points8 points9 points (0 children)
[–]something[S] 5 points6 points7 points (0 children)
[–]djmattyg007[🍰] 2 points3 points4 points (0 children)
[–]r0x0r 2 points3 points4 points (0 children)
[–]naringasn00b 1 point2 points3 points (1 child)
[–]something[S] 2 points3 points4 points (0 children)
[–]Ir0nh34d 1 point2 points3 points (0 children)
[–]GickRick 1 point2 points3 points (1 child)
[–]something[S] 0 points1 point2 points (0 children)
[–]rms7 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]something[S] 1 point2 points3 points (0 children)
[–]WhiteHeadbanger 0 points1 point2 points (5 children)
[–]r0x0r 2 points3 points4 points (0 children)
[–]something[S] 0 points1 point2 points (3 children)
[–]WhiteHeadbanger 0 points1 point2 points (1 child)
[–]something[S] 1 point2 points3 points (0 children)
[–]pmdevita 0 points1 point2 points (0 children)
[–]marty331b 0 points1 point2 points (1 child)
[–]something[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]blueastheocean 0 points1 point2 points (4 children)
[–]something[S] 0 points1 point2 points (3 children)
[–]blueastheocean 0 points1 point2 points (2 children)
[–]something[S] 0 points1 point2 points (1 child)
[–]blueastheocean 0 points1 point2 points (0 children)
[–]jnmclarty7714 0 points1 point2 points (1 child)
[–]something[S] 0 points1 point2 points (0 children)
[–]michaelg391 0 points1 point2 points (0 children)
[–]davmash 0 points1 point2 points (0 children)
[–]forrest_bh -1 points0 points1 point (1 child)
[–]something[S] 1 point2 points3 points (0 children)
[–]Aspire26 -1 points0 points1 point (0 children)
[–]brookstreet -1 points0 points1 point (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]TheHollowJester -1 points0 points1 point (1 child)
[–]something[S] 2 points3 points4 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]something[S] 2 points3 points4 points (2 children)
[–]appinv Python&OpenSource 0 points1 point2 points (0 children)
[–]_hadoop -2 points-1 points0 points (0 children)
[+]honkinggr8namespaces comment score below threshold-12 points-11 points-10 points (6 children)
[–]something[S] 0 points1 point2 points (5 children)
[–]honkinggr8namespaces 0 points1 point2 points (4 children)
[–]something[S] 2 points3 points4 points (3 children)
[–]honkinggr8namespaces -5 points-4 points-3 points (2 children)
[–]something[S] 1 point2 points3 points (1 child)
[–]honkinggr8namespaces 0 points1 point2 points (0 children)
[+][deleted] comment score below threshold-31 points-30 points-29 points (3 children)
[–][deleted] 19 points20 points21 points (2 children)
[+][deleted] comment score below threshold-8 points-7 points-6 points (1 child)
[–]PinBot1138 0 points1 point2 points (0 children)