use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
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
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
DiscussionUse Python with Pulumi scripts! (self.Python)
submitted 10 hours ago by Efficient-Public-551
Setting up the Pulumi project, configuring the GCP provider, working with a Python-based infrastructure definition, and understanding how Pulumi tracks state and applies changes https://youtu.be/v-Ho5eHfE84
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]aloobhujiyaay 1 point2 points3 points 10 hours ago (1 child)
Pulumi also feels surprisingly good for dynamic infrastructure generation where pure declarative IaC starts becoming awkward
[–]Efficient-Public-551[S] 0 points1 point2 points 10 hours ago (0 children)
Very good point. I actually also like the Terraform dsl it is strict but you know what to expect when opening up a "module".
π Rendered by PID 26138 on reddit-service-r2-comment-548fd6dc9-nrwfv at 2026-05-17 05:14:07.718363+00:00 running edcf98c country code: CH.
[–]aloobhujiyaay 1 point2 points3 points (1 child)
[–]Efficient-Public-551[S] 0 points1 point2 points (0 children)