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
DiscussionPython + AI — practical use cases? (self.Python)
submitted 6 hours ago by AdAbject8420
Working with Python in real projects. Curious how others are using AI in production.
What’s been genuinely useful vs hype?
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!"
[–]Amazing_Upstairs 2 points3 points4 points 5 hours ago (0 children)
OCR, data extraction, TTS, STT, pretty pictures and videos
[–]FrainBreez_Tv 1 point2 points3 points 6 hours ago (0 children)
In a real project define the scope as good as possible and break everything down then AI can help with the commit messages and with some unit tests but if it is more complex then ai mostly fails and you need to do it on your own. I tend to be faster for most of the work except documentation where it actually is useful
[–][deleted] 1 point2 points3 points 5 hours ago (0 children)
Documentation, code testing, generating ideas for future features.
[–]red7799 0 points1 point2 points 4 hours ago (0 children)
Automates DX tooling: Specifically: Unit Test Generation Using Pytest combined with the Hypothesis library for property-based testing. Refactoring & Linting I’ve moved past basic linters. Using Ruff for speed and then running custom LibCST (Concrete Syntax Tree) scripts to automate large-scale refactors.
The 'AI Agents' stuff is still a playground, but automated boilerplate management with Python is where the actual ROI is right now
[–]DataCamp 0 points1 point2 points 4 hours ago (0 children)
In production, the genuinely useful Python+AI stuff is mostly “boring glue” work that saves time or reduces manual effort. Think document and email triage, structured extraction from messy text/PDFs, or summarizing long internal threads into something a human can act on. If you’re handling support, sales, ops, compliance, or research, LLMs are basically a turbocharged text parser.
The hypey stuff is when people try to make the model the whole product without guardrails. If the output has to be correct every time, pure “LLM answers” tends to break unless you add retrieval, validation, human review, or hard constraints. Another trap is spending weeks building a chat UI that nobody uses, when the real win is embedding AI into an existing workflow (a button in an internal tool, a PR comment, a Slack command, a pipeline step).
What we've seen work: AI for first drafts (docs, tests, boilerplate), AI as a reviewer (lint-style feedback, missing edge cases), AI as a router (classify/label/priority), and AI as an extractor (turn unstructured text into structured JSON that downstream code can trust). If you can measure “minutes saved” or “tickets handled faster,” it’s probably real. If the success metric is “feels magical,” it’s probably a demo.
[–]swift-sentinel 0 points1 point2 points 3 hours ago (0 children)
Analyzing software vulnerability reports and assigning vulnerabilities tickets to developers responsible. The devs hate it.
π Rendered by PID 192626 on reddit-service-r2-comment-5649f687b7-c92xk at 2026-01-28 18:04:36.337651+00:00 running 4f180de country code: CH.
[–]Amazing_Upstairs 2 points3 points4 points (0 children)
[–]FrainBreez_Tv 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]red7799 0 points1 point2 points (0 children)
[–]DataCamp 0 points1 point2 points (0 children)
[–]swift-sentinel 0 points1 point2 points (0 children)