Python for Beginners: Build a Simple QR Code Generator in Minutes!
https://youtu.be/v5_lKGfnDmQ?si=VhbXqCo9_NoZBmE1
/r/djangolearning
https://redd.it/1p1b2js
https://youtu.be/v5_lKGfnDmQ?si=VhbXqCo9_NoZBmE1
/r/djangolearning
https://redd.it/1p1b2js
YouTube
Python Project for Beginners 🐍
In this beginner-friendly Python tutorial, you’ll learn how to create a simple QR Code Generator using just a few lines of code! This is a perfect first project for anyone starting with Python.
We’ll walk step-by-step through:
✔ Installing the required library…
We’ll walk step-by-step through:
✔ Installing the required library…
My first real project in python
Hi, I'm 15 and I recently started python. For my firt project I did a calculator.
Here is the program:
num1=int(input("choisissez un nombre"))
num2=int(input("choisissez un nombre")) #sélection des nombres
operator=int(input("choisissez un operateur 1=+ ;2=- ;3=/ "))
if operator ==1:
result=num1+num2
elif operator ==2: #calcule
result=num1-num2
elif operator ==3:
result=num1/num2
print("voici votre résultat",result)
I'm here for advice on this program and more generally on python.
If you have little project like this I take too.
Thank you for reading.
/r/Python
https://redd.it/1p1khap
Hi, I'm 15 and I recently started python. For my firt project I did a calculator.
Here is the program:
num1=int(input("choisissez un nombre"))
num2=int(input("choisissez un nombre")) #sélection des nombres
operator=int(input("choisissez un operateur 1=+ ;2=- ;3=/ "))
if operator ==1:
result=num1+num2
elif operator ==2: #calcule
result=num1-num2
elif operator ==3:
result=num1/num2
print("voici votre résultat",result)
I'm here for advice on this program and more generally on python.
If you have little project like this I take too.
Thank you for reading.
/r/Python
https://redd.it/1p1khap
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Thursday Daily Thread: Python Careers, Courses, and Furthering Education!
# Weekly Thread: Professional Use, Jobs, and Education 🏢
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! 🌟
/r/Python
https://redd.it/1p1o6zl
# Weekly Thread: Professional Use, Jobs, and Education 🏢
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! 🌟
/r/Python
https://redd.it/1p1o6zl
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
R Segment Anything Model 3 (SAM 3) is released
Abstract: We present Segment Anything Model (SAM) 3, a unified model that detects, segments, and tracks objects in images and videos based on concept prompts, which we define as either short noun phrases (e.g., “yellow school bus”), image exemplars, or a combination of both. Promptable Concept Segmentation (PCS) takes such prompts and returns segmentation masks and unique identities for all matching object instances. To advance PCS, we build a scalable data engine that produces a high-quality dataset with 4M unique concept labels, including hard negatives, across images and videos. Our model consists of an image-level detector and a memory-based video tracker that share a single backbone. Recognition and localization are decoupled with a presence head, which boosts detection accuracy. SAM 3 doubles the accuracy of existing systems in both image and video PCS, and improves previous SAM capabilities on visual segmentation tasks. We open source SAM 3 along with our new Segment Anything with Concepts (SA-Co) benchmark for promptable concept segmentation.
Paper: https://ai.meta.com/research/publications/sam-3-segment-anything-with-concepts/
Demo: https://aidemos.meta.com/segment-anything
Code: https://github.com/facebookresearch/sam3
Website: https://ai.meta.com/sam3
/r/MachineLearning
https://redd.it/1p1cfvx
Abstract: We present Segment Anything Model (SAM) 3, a unified model that detects, segments, and tracks objects in images and videos based on concept prompts, which we define as either short noun phrases (e.g., “yellow school bus”), image exemplars, or a combination of both. Promptable Concept Segmentation (PCS) takes such prompts and returns segmentation masks and unique identities for all matching object instances. To advance PCS, we build a scalable data engine that produces a high-quality dataset with 4M unique concept labels, including hard negatives, across images and videos. Our model consists of an image-level detector and a memory-based video tracker that share a single backbone. Recognition and localization are decoupled with a presence head, which boosts detection accuracy. SAM 3 doubles the accuracy of existing systems in both image and video PCS, and improves previous SAM capabilities on visual segmentation tasks. We open source SAM 3 along with our new Segment Anything with Concepts (SA-Co) benchmark for promptable concept segmentation.
Paper: https://ai.meta.com/research/publications/sam-3-segment-anything-with-concepts/
Demo: https://aidemos.meta.com/segment-anything
Code: https://github.com/facebookresearch/sam3
Website: https://ai.meta.com/sam3
/r/MachineLearning
https://redd.it/1p1cfvx
Meta
SAM 3: Segment Anything with Concepts | Research - AI at Meta
We present Segment Anything Model (SAM) 3, a unified model that detects, segments, and tracks
objects in images and videos based on concept prompts,...
objects in images and videos based on concept prompts,...
Flask-Assets-Pipeline: Modern assets pipeline with esbuild, tailwind and more
https://github.com/hyperflask/flask-assets-pipeline
/r/flask
https://redd.it/1p1z9gt
https://github.com/hyperflask/flask-assets-pipeline
/r/flask
https://redd.it/1p1z9gt
GitHub
GitHub - hyperflask/flask-assets-pipeline: Modern asset pipeline for Flask
Modern asset pipeline for Flask. Contribute to hyperflask/flask-assets-pipeline development by creating an account on GitHub.
Is it possible that i get typehints / auto complete for jinja html? in vsc
I was seeing a full flask course where the tutor was using pycharm, he changed the templating somthing and he was kinda getting typehints , Is this possible for vsc, I have installed jinja, jinja better but still i am not getting those
/r/flask
https://redd.it/1p1u87x
I was seeing a full flask course where the tutor was using pycharm, he changed the templating somthing and he was kinda getting typehints , Is this possible for vsc, I have installed jinja, jinja better but still i am not getting those
/r/flask
https://redd.it/1p1u87x
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
whereproc: a small CLI that tells you where a running process’s executable actually lives
I’ve been working on some small, practical command-line utilities, and this one turned out to be surprisingly useful, so I packaged it up and put it on PyPI.
What My Project Does
whereproc answers a question I kept hitting in day-to-day work: "What executable is actually backing this running process?"
Target Audience
whereproc is useful for anyone:
debugging PATH issues
finding the real location of app bundles / snap packages
scripting around PID or exe discovery
process verification and automation
Comparison
There are existing tools that overlap with some functionality (
- whereproc always shows the resolved executable path, which many platform tools obscure or hide behind symlinks.
- It unifies behavior across platforms. The same command works the same way on Linux, macOS, and Windows.
- It provides multiple match modes (substring, exact, regex, command-line search) instead of
/r/Python
https://redd.it/1p1p990
I’ve been working on some small, practical command-line utilities, and this one turned out to be surprisingly useful, so I packaged it up and put it on PyPI.
What My Project Does
whereproc is a command-line tool built on top of psutil that inspects running processes and reports the full filesystem path of the executable backing them. It supports substring, exact-match, and regex searches, and it can match against either the process name or the entire command line. Output can be human-readable, JSON, or a quiet/scripting mode that prints only the executable path.whereproc answers a question I kept hitting in day-to-day work: "What executable is actually backing this running process?"
Target Audience
whereproc is useful for anyone:
debugging PATH issues
finding the real location of app bundles / snap packages
scripting around PID or exe discovery
process verification and automation
Comparison
There are existing tools that overlap with some functionality (
ps, pgrep, pidof, Windows Task Manager, Activity Monitor, Process Explorer), but:- whereproc always shows the resolved executable path, which many platform tools obscure or hide behind symlinks.
- It unifies behavior across platforms. The same command works the same way on Linux, macOS, and Windows.
- It provides multiple match modes (substring, exact, regex, command-line search) instead of
/r/Python
https://redd.it/1p1p990
Reddit
From the Python community on Reddit: whereproc: a small CLI that tells you where a running process’s executable actually lives
Explore this post and more from the Python community
how obvious is this retry logic bug to you?
I was writing a function to handle a 429 error from NCBI API today, its a recursive retry function, thought it looked clean but..
well the code ran without errors, but downstream I kept getting
Here is the snippet (simplified).
def fetchdatawithretry(retries=10):
try:
return apiclient.getdata()
except RateLimitError:
if retries > 0:
print(f"Rate limit hit. Retrying... {retries} left")
time.sleep(1)
fetchdatawithretry(retries - 1)
else:
/r/Python
https://redd.it/1p1yzzd
I was writing a function to handle a 429 error from NCBI API today, its a recursive retry function, thought it looked clean but..
well the code ran without errors, but downstream I kept getting
None values in the output instead of the API data response. It drove me crazy because the logs showed the retries were happening and "succeeding."Here is the snippet (simplified).
def fetchdatawithretry(retries=10):
try:
return apiclient.getdata()
except RateLimitError:
if retries > 0:
print(f"Rate limit hit. Retrying... {retries} left")
time.sleep(1)
fetchdatawithretry(retries - 1)
else:
/r/Python
https://redd.it/1p1yzzd
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Flask-Security vs a la carte (login, authorize, dance)?
I've used flask-login for many years, bolting on my own roles/permissions system, email authentication, password management, etc. Am looking to finally make an upgrade to some standard tools, but am having trouble deciding between the all-in-one pallets project flask-security and an a la carte approach with flask-login, flask-authorize, and flask-dance (plus probably others).
Have you used either stack? What did you like/dislike about it?
/r/flask
https://redd.it/1p25oya
I've used flask-login for many years, bolting on my own roles/permissions system, email authentication, password management, etc. Am looking to finally make an upgrade to some standard tools, but am having trouble deciding between the all-in-one pallets project flask-security and an a la carte approach with flask-login, flask-authorize, and flask-dance (plus probably others).
Have you used either stack? What did you like/dislike about it?
/r/flask
https://redd.it/1p25oya
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Latest Python Podcasts & Conference Talks (week 47, 2025)
Hi r/Python!
As part of Tech Talks Weekly, I'll be posting here every week with all the latest Python conference talks and podcasts. To build this list, I'm following over 100 software engineering conferences and even more podcasts. This means you no longer need to scroll through messy YT subscriptions or RSS feeds!
In addition, I'll periodically post compilations, for example a list of the most-watched Python talks of 2025.
The following list includes all the Python talks and podcasts published in the past 7 days (2025-11-13 - 2025-11-20).
Let's get started!
# 1. Conference talks
# PyData Seattle 2025
1. **"Khuyen Tran & Yibei Hu - Multi-Series Forecasting at Scale with StatsForecast | PyData Seattle 2025"** ⸱ +200 views ⸱ 17 Nov 2025 ⸱ 00h 39m 36s
2. **"Sebastian Duerr - Evaluation is all you need | PyData Seattle 2025"** ⸱ +200 views ⸱ 17 Nov 2025 ⸱ 00h 43m 28s
3. **"Bill Engels - Actually using GPs in practice with PyMC | PyData Seattle 2025"** ⸱ +200 views ⸱ 17 Nov 2025 ⸱ 00h 44m 15s
4. **"Everett Kleven - Why Models Break Your Pipelines | PyData Seattle 2025"** ⸱ +200 views ⸱ 17 Nov 2025 ⸱ 00h 36m 04s
5. **"Ojas Ankurbhai Ramwala - Explainable AI for Biomedical Image Processing | PyData Seattle 2025"** ⸱ +100 views ⸱ 17 Nov 2025 ⸱
/r/Python
https://redd.it/1p23zun
Hi r/Python!
As part of Tech Talks Weekly, I'll be posting here every week with all the latest Python conference talks and podcasts. To build this list, I'm following over 100 software engineering conferences and even more podcasts. This means you no longer need to scroll through messy YT subscriptions or RSS feeds!
In addition, I'll periodically post compilations, for example a list of the most-watched Python talks of 2025.
The following list includes all the Python talks and podcasts published in the past 7 days (2025-11-13 - 2025-11-20).
Let's get started!
# 1. Conference talks
# PyData Seattle 2025
1. **"Khuyen Tran & Yibei Hu - Multi-Series Forecasting at Scale with StatsForecast | PyData Seattle 2025"** ⸱ +200 views ⸱ 17 Nov 2025 ⸱ 00h 39m 36s
2. **"Sebastian Duerr - Evaluation is all you need | PyData Seattle 2025"** ⸱ +200 views ⸱ 17 Nov 2025 ⸱ 00h 43m 28s
3. **"Bill Engels - Actually using GPs in practice with PyMC | PyData Seattle 2025"** ⸱ +200 views ⸱ 17 Nov 2025 ⸱ 00h 44m 15s
4. **"Everett Kleven - Why Models Break Your Pipelines | PyData Seattle 2025"** ⸱ +200 views ⸱ 17 Nov 2025 ⸱ 00h 36m 04s
5. **"Ojas Ankurbhai Ramwala - Explainable AI for Biomedical Image Processing | PyData Seattle 2025"** ⸱ +100 views ⸱ 17 Nov 2025 ⸱
/r/Python
https://redd.it/1p23zun
www.techtalksweekly.io
Tech Talks Weekly | Substack
Join 7,200+ Software Engineers and Engineering Leaders who receive a free weekly email with all the recently published podcasts and conference talks. Stop scrolling through messy YT subscriptions. Stop FOMO. Easy to unsubscribe. No spam, ever. Click to read…
Youtube channels to learn django
Suggest some good yt channels to learn django
/r/django
https://redd.it/1p2112e
Suggest some good yt channels to learn django
/r/django
https://redd.it/1p2112e
Reddit
From the django community on Reddit
Explore this post and more from the django community
Going build-free with native JavaScript modules
https://www.djangoproject.com/weblog/2025/nov/19/going-build-free-with-native-javascript-modules
/r/django
https://redd.it/1p2c9qt
https://www.djangoproject.com/weblog/2025/nov/19/going-build-free-with-native-javascript-modules
/r/django
https://redd.it/1p2c9qt
Django Project
Going build-free with native JavaScript modules
Posted by James Bligh on Nov. 19, 2025
Why do we repeat type hints in docstrings?
I see a lot of code like this:
def foo(x: int) -> int:
"""Does something
Parameters:
x (int): Description of x
Returns:
int: Returning value
"""
return x
Isn’t the type information in the docstring redundant? It’s already specified in the function definition, and as actual code, not strings.
/r/Python
https://redd.it/1p2c50c
I see a lot of code like this:
def foo(x: int) -> int:
"""Does something
Parameters:
x (int): Description of x
Returns:
int: Returning value
"""
return x
Isn’t the type information in the docstring redundant? It’s already specified in the function definition, and as actual code, not strings.
/r/Python
https://redd.it/1p2c50c
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Friday Daily Thread: r/Python Meta and Free-Talk Fridays
# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
## How it Works:
1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
## Guidelines:
All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.
## Example Topics:
1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
/r/Python
https://redd.it/1p2jgiv
# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
## How it Works:
1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
## Guidelines:
All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.
## Example Topics:
1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
/r/Python
https://redd.it/1p2jgiv
Redditinc
Reddit Rules
Reddit Rules - Reddit
What’s the best Python library for creating interactive graphs?
I’m currently using Matplotlib but want something with zoom/hover/tooltip features. Any recommendations I can download? I’m using it to chart backtesting results and other things relating to financial strategies. Thanks, Cheers
/r/Python
https://redd.it/1p2jdj9
I’m currently using Matplotlib but want something with zoom/hover/tooltip features. Any recommendations I can download? I’m using it to chart backtesting results and other things relating to financial strategies. Thanks, Cheers
/r/Python
https://redd.it/1p2jdj9
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
PyTogether - Google Docs for Python (free and open-source, real-time browser IDE)
For the past 4 months, I’ve been working on a full-stack project I’m really proud of called PyTogether (pytogether.org).
# What My Project Does
It is a real-time, collaborative Python IDE designed with beginners in mind (think Google Docs, but for Python). It’s meant for pair programming, tutoring, or just coding Python together. It’s completely free. No subscriptions, no ads, nothing. Just create an account, make a group, and start a project. Has proper code-linting, extremely intuitive UI, autosaving, drawing features (you can draw directly onto the IDE and scroll), live selections, and voice/live chats per project. There are no limitations at the moment (except for code size to prevent malicious payloads). There is also built-in support for libraries like matplotlib.
Source code: https://github.com/SJRiz/pytogether
# Target Audience
It’s designed for tutors, educators, or Python beginners.
# Comparison With Existing Alternatives
Why build this when Replit or VS Code Live Share already exist?
Because my goal was simplicity and education. I wanted something lightweight for beginners who just want to write and share simple Python scripts (alone or with others), without downloads, paywalls, or extra noise. There’s also no AI/copilot built in, something many teachers and learners actually prefer. I also focused on a communication-first approach, where the IDE
/r/Python
https://redd.it/1p2ld03
For the past 4 months, I’ve been working on a full-stack project I’m really proud of called PyTogether (pytogether.org).
# What My Project Does
It is a real-time, collaborative Python IDE designed with beginners in mind (think Google Docs, but for Python). It’s meant for pair programming, tutoring, or just coding Python together. It’s completely free. No subscriptions, no ads, nothing. Just create an account, make a group, and start a project. Has proper code-linting, extremely intuitive UI, autosaving, drawing features (you can draw directly onto the IDE and scroll), live selections, and voice/live chats per project. There are no limitations at the moment (except for code size to prevent malicious payloads). There is also built-in support for libraries like matplotlib.
Source code: https://github.com/SJRiz/pytogether
# Target Audience
It’s designed for tutors, educators, or Python beginners.
# Comparison With Existing Alternatives
Why build this when Replit or VS Code Live Share already exist?
Because my goal was simplicity and education. I wanted something lightweight for beginners who just want to write and share simple Python scripts (alone or with others), without downloads, paywalls, or extra noise. There’s also no AI/copilot built in, something many teachers and learners actually prefer. I also focused on a communication-first approach, where the IDE
/r/Python
https://redd.it/1p2ld03
PyTogether
PyTogether — Real-Time Collaborative Python IDE
Collaborative Python IDE for students, educators, and teams.
Can someone post an example of a flask app that has blueprints with multiple models.py in each blueprint folder using the current working version of flask with html as the front end ?
I am getting an error in my flask app rather then posting my long convoluted error I figure I would try to see if there something wrong with my app by seeing an working example of a flask app with html as the front end with blueprints with multiple models.py files in each blueprint folder using the current working version of flask. Does anyone have working example ? Could someone link there github or something else?
My web app was working before the multiple models.py files.
Thank you.
/r/flask
https://redd.it/1p2ninn
I am getting an error in my flask app rather then posting my long convoluted error I figure I would try to see if there something wrong with my app by seeing an working example of a flask app with html as the front end with blueprints with multiple models.py files in each blueprint folder using the current working version of flask. Does anyone have working example ? Could someone link there github or something else?
My web app was working before the multiple models.py files.
Thank you.
/r/flask
https://redd.it/1p2ninn
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Tutorial Processing 10K events/sec with Python WebSockets and time-series storage
Built a guide on handling high-throughput data streams with Python:
\- WebSockets for real-time AIS maritime data
\- MessagePack columnar format for efficiency
\- Time-series database (4.21M records/sec capacity)
\- Grafana visualization
Full code: https://basekick.net/blog/build-real-time-vessel-tracking-system-arc
Focuses on Python optimization patterns for high-volume data.
/r/Python
https://redd.it/1p2ca9x
Built a guide on handling high-throughput data streams with Python:
\- WebSockets for real-time AIS maritime data
\- MessagePack columnar format for efficiency
\- Time-series database (4.21M records/sec capacity)
\- Grafana visualization
Full code: https://basekick.net/blog/build-real-time-vessel-tracking-system-arc
Focuses on Python optimization patterns for high-volume data.
/r/Python
https://redd.it/1p2ca9x
basekick.net
Building a Real-Time Global Vessel Tracking System with Arc | Basekick Labs
From San Francisco Bay to Miami port - build a production-ready maritime tracking system that sustains 4.21M sensor readings per second. Watch thousands of vessels move in real-time on your dashboard.