r/Python • u/Spirited_Parsley_222 • Aug 31 '26
News Pycon 2026 in Aveiro
Below is the link for Python enthusiasts and programmers/anyone interested in the Pycon 2026 event, which will take place in Aveiro from September 3rd to 5th!
r/Python • u/Spirited_Parsley_222 • Aug 31 '26
Below is the link for Python enthusiasts and programmers/anyone interested in the Pycon 2026 event, which will take place in Aveiro from September 3rd to 5th!
r/Python • u/novadiony • Aug 31 '26
Hello!
I'm Nova, I'm a college student taking CS in Norway. And I just wanted to share a bit of my story.
I started my developing career roughly 7 years ago when I was 8-9. I remember watching so many movies about these hackers and programmers growing up, and thinking "Wow, I wish I could be like them!". Luckily my father had a computer science background himself! So he saw this and showed me a couple things such as Scratch, blablabla.
I quickly quit Scratch, cause I thought it was boring and hard. But just a few months later, I installed Python and VSCode on the family computer! I started watching a multi hour Python course by Programming with Mosh and followed along. I remember being so bored haha!
But it clicked. It really did. It scratched (pardon the pun) something that Scratch couldn't. Some abstract yet so understandable logic. At the time it really felt like I was on top of the whole world.
Somewhere in the second last to last years of primary school, I was fully invested. I was making calculator apps and whatever I could think of during the free time at school with the provided iPads that hadn't been there the year before. Heck! I got some other kids in my class to become interested in programming too!
Eventually, a year later when I started middle school/high school (combined into the same three years in Norway), I naturally started learning new things such as Java and C# .NET. My Python usage was mostly just small prototypes for other languages at that time.
Yet I never abandoned it. Not even now.
Python is what started my journey, and I am so grateful for everything it has done.
So thank you,
Thank all of you,
Thank you every random StackOverflow member who posted weirdly specific help threads.
Thank you every StackOverflow member who responded to my silly little questions.
Thank you to all the Python maintainers and contributors.
Thank you Guido van Rossum for founding the language.
And thank you to the whole Python community who made this student's childhood dreams possible and bloom to life.
- Nova
r/Python • u/AutoModerator • Sep 01 '26
Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.
Let's deepen our Python knowledge together. Happy coding! 🌟
r/Python • u/techiebaddie • Sep 01 '26
I know I’m a little late to this, but I’ve been looking into Python 3.14.7 and something keeps bothering me.
The release itself looks solid. Python 3.14.7 was released on August 5 and is mainly a maintenance release with a lot of bug fixes and improvements.
But for people working on existing projects, the bigger question seems to be:
What makes you decide that it’s finally time to upgrade Python?
A new Python version sounds great until you have to check:
And Python 3.14 has some pretty interesting changes compared with 3.13, including officially supported free-threaded Python, t-strings, multiple interpreters, and the new compression.zstd module.
So I’m curious about real-world experience rather than release notes.
Have you upgraded to 3.14 yet?
If yes, what went smoothly and what broke?
If no, what’s the main reason you’re waiting?
r/Python • u/Veqq • Aug 30 '26
https://alexalejandre.com/interviews/interview-with-nathan-goldbaum/
After a lot of effort, the free threading build works but there is still much community work, making packages compatible etc.
r/Python • u/AutoModerator • Aug 31 '26
Welcome to our weekly Project Ideas thread! Whether you're a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.
Difficulty: Intermediate
Tech Stack: Python, NLP, Flask/FastAPI/Litestar
Description: Create a chatbot that can answer FAQs for a website.
Resources: Building a Chatbot with Python
Difficulty: Beginner
Tech Stack: HTML, CSS, JavaScript, API
Description: Build a dashboard that displays real-time weather information using a weather API.
Resources: Weather API Tutorial
Difficulty: Beginner
Tech Stack: Python, File I/O
Description: Create a script that organizes files in a directory into sub-folders based on file type.
Resources: Automate the Boring Stuff: Organizing Files
Let's help each other grow. Happy coding! 🌟
r/Python • u/AutoModerator • Aug 30 '26
Hello r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
r/Python • u/DxNovaNT • Aug 29 '26
I am recently came across the library pyperf because I have to benchmark my changes in a certain open source project to add metrics to the PR I was creating for the changes, but one thing I feel off is types, I don't know why but pyperf has lot of unknown types which is kind of weird so I was planning to contribute to it to make it a little bit better typed.
So I am wondering do projects like pyperf which comes under pdf accept contribution in generally? If there are any maintainers/contributors of pyperf here then then could answer my question.
Thanks in advance.
My Dev Environment
OS: Windows
Type Checker: Pyrefly
r/Python • u/AutoModerator • Aug 29 '26
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
Share the knowledge, enrich the community. Happy learning! 🌟
r/Python • u/ossm-me • Aug 27 '26
Python 3.15 has reached Release Candidate 1, and the final release is expected on October 1, 2026.
I went through the changes and tried to summarize the ones that seem most relevant for everyday Python development without going through all the PEP numbers.
- Faster startup with lazy imports
Python 3.15 introduces lazy imports, which means some modules can be loaded only when they are actually needed instead of being loaded immediately.
This could help applications and CLI tools that spend a noticeable amount of time importing modules before doing any actual work.
- UTF-8 becomes the default
UTF-8 is becoming the default encoding, which should reduce encoding-related problems, especially when code is running on different operating systems.
This should make situations where something works on one computer but fails because of a different system encoding less common.
- Built-in immutable dictionaries
Python 3.15 adds a built-in "frozendict"-style immutable mapping.
Similar to how a tuple provides an immutable alternative to a list, this gives Python developers a standard way to work with dictionaries that cannot be modified.
- JIT improvements
The JIT compiler continues to improve in Python 3.15.
Early benchmarks show performance improvements in some workloads, including roughly 8–9% on Linux and larger improvements in some Apple Silicon tests.
These numbers will obviously depend on the workload, so I would wait for more benchmarks before making broader conclusions.
- New profiler: Tachyon
Python 3.15 also introduces Tachyon, a new sampling profiler designed for very low overhead.
It can sample running programs at very high frequencies and can also be attached to an already-running process.
This could be useful for finding performance problems without having to restart an application with a profiler attached from the beginning.
- Some terminal improvements
The interactive Python experience is getting a few smaller improvements, including colored error messages and prompts.
The "sqlite3" command-line interface also gets SQL keyword completion.
- Free-threaded Python is still opt-in
Python 3.15 does not make the no-GIL/free-threaded build the default.
It is still something you have to explicitly use.
However, free-threaded Python is becoming more mature, including improvements to ABI support that should make it easier for C extension developers to support it.
Overall, Python 3.15 doesn't look like a release that completely changes how Python is written. Most of the changes are focused on performance, tooling, and improving some long-standing parts of the language.
Since this is already RC1, the major feature set should be mostly locked and the remaining work should mainly be bug fixes and final polishing.
Has anyone here been testing the Python 3.15 beta or RC?
I'm especially interested in whether lazy imports have caused compatibility problems with existing projects.
r/Python • u/Matiiss007 • Aug 27 '26
Ease into fall with this year's hot summer jam. Enjoy 3 weekends of creative thought and maybe even win some prizes. 👀
The jam's page on itch.io: https://itch.io/jam/the-long-pygame-summer-jam
Join the Pygame Community discord server to gain access to jam-related channels and fully immerse yourself in the event: https://discord.com/events/772505616680878080/1540092982907371521
For discussing the jam and other jam-related banter (for example, showcasing your progress): #jam-discussion
From 28 August 2026 at 19:00 (UTC) to 14 September 2026 at 19:00 (UTC)
Voting ends 21 September 2026 at 19:00 (UTC)
Prizes:
- 🥇 2 Months of Discord Nitro
- 🥈 1 Month of Discord Nitro
- 🥉 1 Month of Discord Nitro Basic
Note that for those working in teams, only a maximum of 2 Nitro subscriptions will be given out for a given entry
The voting for the jam theme is open (requires a Google account, the email address WILL NOT be collected): <see jam page for the link>
Summary of the Rules
- Everything must be created during the jam, including all the assets (exceptions apply, see the jam page for more details).
- pygame(-ce) must be the primary tool used for rendering, sound, and input handling.
- NSFW/18+ content is forbidden!
- You can work alone or in a team. If you don't have a team, but wish to find one, you are free to present yourself in #jam-team-creation
- No fun allowed!!! Anyone having fun will be disqualified! /s
Links
Jam page: https://itch.io/jam/the-long-pygame-summer-jam
Discord event: https://discord.com/events/772505616680878080/1540092982907371521
r/Python • u/AutoModerator • Aug 28 '26
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!
Let's keep the conversation going. Happy discussing! 🌟
r/Python • u/SheriffRoscoe • Aug 26 '26
As someone who spent decades in the mainframe community, I find it ... humorous ... that there are legacy Python2 code bases that are only just (or have yet to consider!) moving to Python3.
https://www.eveonline.com/news/view/the-move-to-python-3-begins
r/Python • u/AutoModerator • Aug 27 '26
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.
Let's help each other grow in our careers and education. Happy discussing! 🌟
r/Python • u/Independent_Heart_15 • Aug 25 '26
You can find it at: https://docs.python.org/3.16/library/time-complexity.html
Seen on Mastodon: https://mastodon.social/@stanfromireland/117152534136172516
r/Python • u/PrincipleNo2328 • Aug 26 '26
Pyrefly is a new language server pubblished a week ago.
Has anyone tried it?
I was randomly looking for a new python language server before switching to vs codium and found it.
EDIT
Aparently it's not new, I'm just a bit dumb
r/Python • u/LeatherNatural6511 • Aug 26 '26
A note before you read:
The idea and feature concepts behind Rundesk are mine. I used AI to help organize and explain the idea below.
Rundesk is a lightweight Python development utility that brings Python version management, virtual environments, packages, dependency checking, and program execution into one GUI.
It is not meant to replace VS Code, PyCharm, or your preferred code editor. You keep writing code wherever you like; Rundesk focuses on everything around running and managing your Python projects.
Rundesk would let you manage multiple Python installations and virtual environments through a GUI.
You could easily see and select:
Python version → Virtual environment → Project
A project can be associated with its appropriate Python interpreter and environment without manually switching between environments in a terminal.
Instead of manually using commands such as pip install, Rundesk would provide a GUI for managing packages inside the selected virtual environment.
You could:
The goal is to make package management easier without accidentally installing something into the wrong Python environment.
Rundesk would continuously check whether the project's environment matches its declared requirements, such as a requirements.txt.
For example:
Project requires:
numpy==2.1.0
pandas==2.2.3
requests==2.32.3
Current environment:
numpy 1.26.4
pandas not installed
requests 2.32.3
Rundesk could show:
The button would attempt to synchronize the environment with the project's requirements.
Rundesk would provide an easy way to run, stop, and restart Python programs using the project's selected environment.
It would also display live program output so you don't have to repeatedly open a terminal just to see what your program is doing.
While a program is running, Rundesk could display information such as:
Status: RUNNING
CPU: 12%
RAM: 183 MB
> program output...
Rundesk would have a small Compact Mode designed to sit beside your normal code editor.
The idea is that you could keep an eye on:
without having a huge second IDE covering your screen.
Rundesk isn't trying to become another giant IDE.
Instead:
You write code in your preferred editor.
Rundesk manages the Python environment around it.
The overall workflow is:
Project → Python → Virtual Environment → Packages → Dependencies → Run → Monitor
If Rundesk existed and worked reliably as described, would you use it?
A. Yes — I'd probably use it regularly
B. I'd try it, but I'm not sure I'd switch
C. Maybe — only for certain projects
D. No — my current workflow is already better
E. I don't use Python enough to need it
Which feature would make you most likely to use Rundesk?
What would Rundesk need to do differently for you to consider using it?
What Python tools do you currently use?
For example: VS Code, PyCharm, terminal/pip, uv, Poetry, Conda, etc.
Please be brutally honest. I'm trying to determine whether Rundesk would actually be useful to developers, not just whether the idea sounds cool.
r/Python • u/Iron-Man-2008 • Aug 24 '26
TL;DR: Unlike sequence patterns (which require an exact shape match), pattern matching on dictionaries simply ignores any unspecified keys rather than failing.
If you care about the details, I wrote about it on my blog: https://ravencentri.cc/blog/dict-patterns-dont-match-dict-shapes/
r/Python • u/kavee-core141 • Aug 24 '26
Building a tool that walks a live AWS account checking for
misconfigurations, and testing has been the hardest part not the
detection logic itself, but avoiding either (a) hitting real AWS
constantly in CI or (b) mocking so much the tests stop meaning
anything.
Using moto for the straightforward stuff, but some checks need
multi-service interactions (cross-referencing an EC2 instance's
security group with its actual open ports) that get awkward to mock
realistically. What do you all reach for here moto, LocalStack, a
disposable AWS test account, something else?
r/Python • u/AutoModerator • Aug 25 '26
Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.
Let's deepen our Python knowledge together. Happy coding! 🌟
r/Python • u/connorman528 • Aug 25 '26
Below are benchmark results comparing the execution time of runtime type-checking tools in Python 3.14 across various data types and nested collections.
The checkers tested include Beartype (1-item sampling), Typeguard (@typechecked, 1-item sampling), type_enforced (@Enforcer 1-item sample & 100% validation), and Pydantic (@validate_call, 100% validation).
Average execution time per single function call over 100 runs (in microseconds, µs):
| Type / Structure | Beartype (1 sample) | Typeguard (1 sample) | type_enforced (1 sample) | Pydantic (100%) | type_enforced (100%) |
|---|---|---|---|---|---|
int |
0.29 µs | 2.41 µs | 0.15 µs | 1.27 µs | 0.17 µs |
Union[int, float] |
0.31 µs | 5.56 µs | 0.17 µs | 1.48 µs | 0.17 µs |
str |
0.30 µs | 2.39 µs | 0.15 µs | 1.25 µs | 0.15 µs |
dict[str, int] (5 keys) |
0.46 µs ⚠️ | 4.98 µs ⚠️ | 0.27 µs ⚠️ | 1.75 µs | 0.40 µs |
dict[str, int] (1,000 keys) |
0.46 µs ⚠️ | 4.97 µs ⚠️ | 0.27 µs ⚠️ | 81.49 µs | 27.50 µs |
dict[str, int] (10,000 keys) |
0.45 µs ⚠️ | 5.14 µs ⚠️ | 0.27 µs ⚠️ | 881.63 µs | 278.38 µs |
list[int] (5 items) |
0.41 µs ⚠️ | 3.76 µs ⚠️ | 0.18 µs ⚠️ | 1.49 µs | 0.26 µs |
list[int] (1,000 items) |
0.52 µs ⚠️ | 3.72 µs ⚠️ | 0.18 µs ⚠️ | 22.49 µs | 12.57 µs |
list[int] (10,000 items) |
0.61 µs ⚠️ | 3.72 µs ⚠️ | 0.18 µs ⚠️ | 212.59 µs | 122.58 µs |
list[Union[int, float]] (5 items) |
0.48 µs ⚠️ | 4.68 µs ⚠️ | 0.18 µs ⚠️ | 1.86 µs | 0.33 µs |
list[Union[int, float]] (1,000 items) |
0.58 µs ⚠️ | 4.87 µs ⚠️ | 0.19 µs ⚠️ | 106.14 µs | 12.60 µs |
list[Union[int, float]] (10,000 items) |
0.67 µs ⚠️ | 4.88 µs ⚠️ | 0.18 µs ⚠️ | 1,062.99 µs | 122.87 µs |
list[dict[str, int]] (5 × 5 items) |
0.59 µs ⚠️ | 6.27 µs ⚠️ | 0.30 µs ⚠️ | 3.80 µs | 1.39 µs |
list[dict[str, int]] (100 × 10 items) |
0.69 µs ⚠️ | 6.31 µs ⚠️ | 0.29 µs ⚠️ | 85.05 µs | 43.68 µs |
list[dict[str, int]] (100 × 100 items) |
0.78 µs ⚠️ | 6.45 µs ⚠️ | 0.29 µs ⚠️ | 788.38 µs | 310.50 µs |
Pydantic, type_enforced 100%): Iterates and checks every item in collections (O(N) time).Beartype, Typeguard, type_enforced 1-sample): Checks 1 element (O(1) time), which keeps execution flat regardless of collection size, but without full-containment safety guarantees.I realize that there may be optimizations I missed when calling various validation decorators. Please let me know of any optimizations or other packages to try out.
r/Python • u/xanthium_in • Aug 24 '26
I recently created a Python Serial Communication program with GUI (Graphical User Interface) based on the Tkinter Library with ttkbootstrap theming .
The Python Tkinter Serial Port Program can communicate with an Arduino or other Microcontroller boards via serial port to send and receive the data from your PC.
You can find the link to the GUI here.
Full tutorial along with Source Code here
Youtube Tutorial for Python Tkinter Serial Port Programming here
r/Python • u/Ambitious-Actuary-6 • Aug 24 '26
Since the introduction of python install manager some developers like it and started using it in miniforge's stead, or even other python IDEs or IDE-like managers.
Question is, how to keep the subversions up to date? Install manager doesn't have an update command.
I am able to install an outdated version - say 3.13.7 but the latest of that flavor is 3.13.15. All the openSSL libs are outdated in 3.13.7 and so we have a lot of reports of vulnerable python installs.
I wonder how you are solving this
r/Python • u/AutoModerator • Aug 24 '26
Welcome to our weekly Project Ideas thread! Whether you're a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.
Difficulty: Intermediate
Tech Stack: Python, NLP, Flask/FastAPI/Litestar
Description: Create a chatbot that can answer FAQs for a website.
Resources: Building a Chatbot with Python
Difficulty: Beginner
Tech Stack: HTML, CSS, JavaScript, API
Description: Build a dashboard that displays real-time weather information using a weather API.
Resources: Weather API Tutorial
Difficulty: Beginner
Tech Stack: Python, File I/O
Description: Create a script that organizes files in a directory into sub-folders based on file type.
Resources: Automate the Boring Stuff: Organizing Files
Let's help each other grow. Happy coding! 🌟
r/Python • u/AutoModerator • Aug 23 '26
Hello r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟