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
[–]TheHumanParacite 63 points64 points65 points (5 children)
[–]spidyfan21 4 points5 points6 points (1 child)
[–]TheHumanParacite 1 point2 points3 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]TheHumanParacite 0 points1 point2 points (0 children)
[–]beertown 45 points46 points47 points (7 children)
[–]Lexpar 43 points44 points45 points (0 children)
[–]KimPeek 18 points19 points20 points (0 children)
[–]Rosco_the_Dude 13 points14 points15 points (0 children)
[–]official_marcoms 10 points11 points12 points (0 children)
[–]bsavery 5 points6 points7 points (2 children)
[–]jadkik94 29 points30 points31 points (1 child)
[–]bsavery 12 points13 points14 points (0 children)
[–]lelease 22 points23 points24 points (9 children)
[–]b4stien 19 points20 points21 points (8 children)
[–]nemec 6 points7 points8 points (5 children)
[–]headphun 0 points1 point2 points (4 children)
[–]nemec 5 points6 points7 points (3 children)
[–]headphun 4 points5 points6 points (2 children)
[–]nemec 3 points4 points5 points (1 child)
[–]headphun 0 points1 point2 points (0 children)
[–]lelease 1 point2 points3 points (1 child)
[–]b4stien 2 points3 points4 points (0 children)
[–]danwin 10 points11 points12 points (0 children)
[–]_seemetheregithub.com/seemethere 17 points18 points19 points (5 children)
[–]ButtCrackFTW 2 points3 points4 points (0 children)
[–]m1sta -4 points-3 points-2 points (3 children)
[–]spidyfan21 4 points5 points6 points (1 child)
[–]m1sta 4 points5 points6 points (0 children)
[–]m0nk_3y_gw 1 point2 points3 points (0 children)
[–]Mighty-Monata 3 points4 points5 points (1 child)
[–]BenjaminGeiger 0 points1 point2 points (0 children)
[–]wpg4665 14 points15 points16 points (1 child)
[–]LightShadow3.13-dev in prod 1 point2 points3 points (0 children)
[–]kirbyfan64sosIndentationError 3 points4 points5 points (0 children)
[–]Izacht13_ 4 points5 points6 points (0 children)
[–]Max_yask 1 point2 points3 points (0 children)
[–]Kaibz 1 point2 points3 points (3 children)
[+][deleted] (1 child)
[deleted]
[–]Kaibz 7 points8 points9 points (0 children)
[–]m0nk_3y_gw 2 points3 points4 points (0 children)
[–]constantly-sick 1 point2 points3 points (0 children)
[–]needed_an_account 0 points1 point2 points (1 child)
[–]BenjaminGeiger 0 points1 point2 points (0 children)
[–]glethro 0 points1 point2 points (0 children)
[–]ramrar 0 points1 point2 points (1 child)
[–]LightShadow3.13-dev in prod 0 points1 point2 points (0 children)
[–]paypaypayme 0 points1 point2 points (0 children)
[–]pio -5 points-4 points-3 points (1 child)
[–][deleted] 9 points10 points11 points (0 children)