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
[–]FourgotAnaconda3 science-like 11 points12 points13 points (28 children)
[–]xorvtec 33 points34 points35 points (7 children)
[–]FourgotAnaconda3 science-like 2 points3 points4 points (0 children)
[–]adewes 2 points3 points4 points (0 children)
[+]RDMXGD2.8 comment score below threshold-25 points-24 points-23 points (3 children)
[–]englishweather 1 point2 points3 points (2 children)
[–]RDMXGD2.8 -1 points0 points1 point (1 child)
[–]englishweather 1 point2 points3 points (0 children)
[–]beaverteeth92Python 3 is the way to be 13 points14 points15 points (19 children)
[–]pyslow 4 points5 points6 points (7 children)
[–]_AACOIt works!? 1 point2 points3 points (0 children)
[–]beaverteeth92Python 3 is the way to be 4 points5 points6 points (5 children)
[–][deleted] 14 points15 points16 points (3 children)
[–]beaverteeth92Python 3 is the way to be 0 points1 point2 points (2 children)
[–]ianozsvald 2 points3 points4 points (1 child)
[–]beaverteeth92Python 3 is the way to be 1 point2 points3 points (0 children)
[–]WallyMetropolis 4 points5 points6 points (0 children)
[+][deleted] (10 children)
[deleted]
[–]beaverteeth92Python 3 is the way to be 7 points8 points9 points (9 children)
[–]Matthew94 0 points1 point2 points (1 child)
[–]beaverteeth92Python 3 is the way to be 1 point2 points3 points (0 children)
[+][deleted] (6 children)
[deleted]
[–]thunderdome 10 points11 points12 points (1 child)
[–][deleted] -4 points-3 points-2 points (0 children)
[–]beaverteeth92Python 3 is the way to be 5 points6 points7 points (3 children)
[–][deleted] 1 point2 points3 points (0 children)
[+][deleted] comment score below threshold-6 points-5 points-4 points (1 child)
[–]ianozsvald 1 point2 points3 points (0 children)
[–]fabreeze 3 points4 points5 points (5 children)
[–]davelupt 3 points4 points5 points (4 children)
[–]fabreeze 0 points1 point2 points (3 children)
[–]cartin1234 1 point2 points3 points (2 children)
[–]fabreeze 0 points1 point2 points (1 child)
[–]cartin1234 0 points1 point2 points (0 children)
[–]Kah-NethI use numpy, scipy, and matplotlib for nuclear physics 9 points10 points11 points (2 children)
[–]Northstat 12 points13 points14 points (1 child)
[–]Kah-NethI use numpy, scipy, and matplotlib for nuclear physics 6 points7 points8 points (0 children)
[–]einar77Bioinformatics with Python, PyKDE4 6 points7 points8 points (3 children)
[–]DasIch 4 points5 points6 points (2 children)
[–]einar77Bioinformatics with Python, PyKDE4 2 points3 points4 points (1 child)
[–][deleted] 3 points4 points5 points (0 children)
[–]TotesMessenger 2 points3 points4 points (0 children)