PyCoder’s Weekly: Issue #677: __dict__, Streamlit, Boolean Expressions, and More (April 15, 2025)
Link: https://pycoders.com/issues/677
#677 – APRIL 15, 2025 View in Browser » Using Python’s .__dict__ to Work With Attributes In this tutorial, you’ll dive deeper into the .__dict__ attribute in Python objects. This attribute is a
Link: https://pycoders.com/issues/677
#677 – APRIL 15, 2025 View in Browser » Using Python’s .__dict__ to Work With Attributes In this tutorial, you’ll dive deeper into the .__dict__ attribute in Python objects. This attribute is a
Pycoders
PyCoder’s Weekly | Issue #677
__dict__, Streamlit, Boolean Expressions, and More
Python Morsels: Practical uses of sets
Link: https://www.pythonmorsels.com/practical-uses-of-sets/
Sets are unordered collections of values that are great for removing duplicates, quick containment checks, and set operations.
Table of contents
What are sets?
Sets are like dictionaries without v
Link: https://www.pythonmorsels.com/practical-uses-of-sets/
Sets are unordered collections of values that are great for removing duplicates, quick containment checks, and set operations.
Table of contents
What are sets?
Sets are like dictionaries without v
Pythonmorsels
Practical uses of sets
Sets are unordered collections of values that are great for removing duplicates, quick containment checks, and set operations.
Real Python: Quiz: How to Exit Loops Early With the Python Break Keyword
Link: https://realpython.com/quizzes/python-break/
In this quiz, you’ll test your understanding of the Python break statement.
This keyword allows you to exit a loop prematurely, transferring control to the code that follows the loop.
[ Improve Your
Link: https://realpython.com/quizzes/python-break/
In this quiz, you’ll test your understanding of the Python break statement.
This keyword allows you to exit a loop prematurely, transferring control to the code that follows the loop.
[ Improve Your
Realpython
How to Exit Loops Early With the Python Break Keyword Quiz – Real Python
In this quiz, you'll test your understanding of the Python break statement. This keyword allows you to exit a loop prematurely, transferring control to the code that follows the loop.
PyCharm: PyCharm, the Only Python IDE You Need
Link: https://blog.jetbrains.com/pycharm/2025/04/unified-pycharm/
Estimated reading time: 3 minutes
PyCharm is now one powerful, unified product! Its core functionality, including Jupyter Notebook support, will be free, and a Pro subscription will be available with
Link: https://blog.jetbrains.com/pycharm/2025/04/unified-pycharm/
Estimated reading time: 3 minutes
PyCharm is now one powerful, unified product! Its core functionality, including Jupyter Notebook support, will be free, and a Pro subscription will be available with
The JetBrains Blog
PyCharm, the Only Python IDE You Need | The PyCharm Blog
PyCharm is one powerful, unified product. Its core functionality, including Jupyter notebooks, is free, and a Pro subscription is available with extra features.
PyCharm: PyCharm 2025.1: Unified PyCharm, Free AI Tier, Junie Release, and More!
Link: https://blog.jetbrains.com/pycharm/2025/04/pycharm-2025-1/
PyCharm 2025.1 brings major updates to improve your development experience.
PyCharm is now a unified product, combining PyCharm Professional and Community Edition. Version 2025.1 also brings a free A
Link: https://blog.jetbrains.com/pycharm/2025/04/pycharm-2025-1/
PyCharm 2025.1 brings major updates to improve your development experience.
PyCharm is now a unified product, combining PyCharm Professional and Community Edition. Version 2025.1 also brings a free A
Real Python: How to Exit Loops Early With the Python Break Keyword
Link: https://realpython.com/python-break/
In Python, the break statement lets you exit a loop prematurely, transferring control to the code that follows the loop. This tutorial guides you through using break in both for and while loops. You’l
Link: https://realpython.com/python-break/
In Python, the break statement lets you exit a loop prematurely, transferring control to the code that follows the loop. This tutorial guides you through using break in both for and while loops. You’l
Realpython
How to Exit Loops Early With the Python Break Keyword – Real Python
In this tutorial, you'll explore various ways to use Python's break statement to exit a loop early. Through practical examples, such as a student test score analysis tool and a number-guessing game, you'll see how the break statement can improve the efficiency…
EuroPython: Tickets, Sessions, & Call for 2026 Host Venues!
Link: https://blog.europython.eu/tickets-sessions-call-for-2026-host-venues/
Hello, Pythonistas! 🐍Tickets are on sale now! You can get your tickets at europython.eu/tickets📣 ProgrammeKeynote SpeakersWe are excited to announce three more keynote speakers!Sebastián Ramírez Sebas
Link: https://blog.europython.eu/tickets-sessions-call-for-2026-host-venues/
Hello, Pythonistas! 🐍Tickets are on sale now! You can get your tickets at europython.eu/tickets📣 ProgrammeKeynote SpeakersWe are excited to announce three more keynote speakers!Sebastián Ramírez Sebas
EuroPython Blog
Tickets, Sessions, & Call for 2026 Host Venues!
Hello, Pythonistas! 🐍
Tickets are on sale now! You can get your tickets at europython.eu/tickets
📣 Programme
Keynote Speakers
We are excited to announce three more keynote speakers!
Sebastián Ramírez
Sebastián is the creator and maintainer of several…
Tickets are on sale now! You can get your tickets at europython.eu/tickets
📣 Programme
Keynote Speakers
We are excited to announce three more keynote speakers!
Sebastián Ramírez
Sebastián is the creator and maintainer of several…
Django Weblog: Run your tests against Django's main!
Link: https://www.djangoproject.com/weblog/2025/apr/17/run-your-tests-against-django-main/
This is the blog version of a talk! If you prefer, watch the recording on YouTube:
Sage Abdullah - Run your tests against Django’s main! - Django London Meetup
Django is known for its
Link: https://www.djangoproject.com/weblog/2025/apr/17/run-your-tests-against-django-main/
This is the blog version of a talk! If you prefer, watch the recording on YouTube:
Sage Abdullah - Run your tests against Django’s main! - Django London Meetup
Django is known for its
Django Project
Run your tests against Django's main!
Posted by Sage Abdullah on April 17, 2025
PyCon: Community Organizer Summit and PSF & Meetups Discussion
Link: https://pycon.blogspot.com/2025/04/community-orgs-and-meetups.html
Calling all community organizers! We want to sit down together and share what’s going well, what new tricks we’ve learned, and what’s been challenging in the area of organizing Python and Python adjac
Link: https://pycon.blogspot.com/2025/04/community-orgs-and-meetups.html
Calling all community organizers! We want to sit down together and share what’s going well, what new tricks we’ve learned, and what’s been challenging in the area of organizing Python and Python adjac
Blogspot
Community Organizer Summit and PSF & Meetups Discussion
Calling all community organizers! We want to sit down together and share what’s going well, what new tricks we’ve learned, and what’s been c...
Everyday Superpowers: Preventing painful coupling
Link: https://everydaysuperpowers.dev/articles/preventing-painful-coupling/
This is the second entry in a five-part series about event sourcing:Why I Finally Embraced Event Sourcing—And Why You Should TooWhat is event sourcing and why you should carePreventing painful couplin
Link: https://everydaysuperpowers.dev/articles/preventing-painful-coupling/
This is the second entry in a five-part series about event sourcing:Why I Finally Embraced Event Sourcing—And Why You Should TooWhat is event sourcing and why you should carePreventing painful couplin
everydaysuperpowers.dev
Preventing painful coupling
Glyph Lefkowitz: Stop Writing `__init__` Methods
Link: https://blog.glyph.im/2025/04/stop-writing-init-methods.html
The History
Before dataclasses were added to Python in version 3.7 — in June of 2018 — the
__init__ special method had an important use. If you had a class
representing a data structure — for example
Link: https://blog.glyph.im/2025/04/stop-writing-init-methods.html
The History
Before dataclasses were added to Python in version 3.7 — in June of 2018 — the
__init__ special method had an important use. If you had a class
representing a data structure — for example
blog.glyph.im
Stop Writing `__init__` Methods
YEARS OF DATACLASSES yet NO REAL-WORLD USE FOUND for overriding special methods just so you can have some attributes.
Daniel Roy Greenfeld: TIL: webbrowser library
Link: https://daniel.feldroy.com/posts/til-2025-04-webbrowser-library
Python comes with webbrowser, a library for opening webbrowsers to specific pages such as this one.
>>> import webbrowser
>>> url = 'https://daniel.feldroy.com/'
>>> webbrowser.open(url)
Link: https://daniel.feldroy.com/posts/til-2025-04-webbrowser-library
Python comes with webbrowser, a library for opening webbrowsers to specific pages such as this one.
>>> import webbrowser
>>> url = 'https://daniel.feldroy.com/'
>>> webbrowser.open(url)
https://daniel.feldroy.com
TIL: webbrowser library
Python's built-in library for controlling browsers from Python
Django Weblog: See you at PyCon US in Pittsburgh!
Link: https://www.djangoproject.com/weblog/2025/apr/18/see-you-at-pycon-us-in-pittsburgh/
We’ll be at PyCon US 2025, and hope to see the Django community and all our Python friends there ❤️! We have been granted a community booth at the conference – come say hi in the Expo Hall during ope
Link: https://www.djangoproject.com/weblog/2025/apr/18/see-you-at-pycon-us-in-pittsburgh/
We’ll be at PyCon US 2025, and hope to see the Django community and all our Python friends there ❤️! We have been granted a community booth at the conference – come say hi in the Expo Hall during ope
Django Project
See you at PyCon US in Pittsburgh!
Posted by Thibaud Colas & Jacob Kaplan-Moss on April 18, 2025
death and gravity: ProcessThreadPoolExecutor: when I/O becomes CPU-bound
Link: https://death.andgravity.com/ptpe
So, you're doing some I/O bound stuff, in parallel, many times.
Maybe you're scraping some websites – a lot of websites.
Maybe you're deleting tens of millions of DynamoDB items.
You've got your Thr
Link: https://death.andgravity.com/ptpe
So, you're doing some I/O bound stuff, in parallel, many times.
Maybe you're scraping some websites – a lot of websites.
Maybe you're deleting tens of millions of DynamoDB items.
You've got your Thr
Real Python: The Real Python Podcast – Episode #247: Exploring DuckDB & Comparing Python Expressions vs Statements
Link: https://realpython.com/podcasts/rpp/247/
Are you looking for a fast database that can handle large datasets in Python? What's the difference between a Python expression and a statement? Christopher Trudeau is back on the show this week, brin
Link: https://realpython.com/podcasts/rpp/247/
Are you looking for a fast database that can handle large datasets in Python? What's the difference between a Python expression and a statement? Christopher Trudeau is back on the show this week, brin
Realpython
Episode #247: Exploring DuckDB & Comparing Python Expressions vs Statements – The Real Python Podcast
Are you looking for a fast database that can handle large datasets in Python? What's the difference between a Python expression and a statement? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects.
Django Weblog: Django Admin Theme Roundup 2025
Link: https://www.djangoproject.com/weblog/2025/apr/18/admin-theme-roundup/
One of Django’s most appreciated features is the built-in admin functionality. In fact, it was ranked as the most useful contrib app in the 2023 Django developer survey.
With a few lines of code, Dja
Link: https://www.djangoproject.com/weblog/2025/apr/18/admin-theme-roundup/
One of Django’s most appreciated features is the built-in admin functionality. In fact, it was ranked as the most useful contrib app in the 2023 Django developer survey.
With a few lines of code, Dja
Django Project
Django Admin Theme Roundup 2025
Posted by Adam Hill on April 18, 2025
Ned Batchelder: Regex affordances
Link: https://nedbatchelder.com/blog/202504/regex_affordances.html
Python regexes have a number of features that bring new power to text
manipulation. I’m not talking about fancy matching features like negative
look-behinds, but ways you can construct and use regexe
Link: https://nedbatchelder.com/blog/202504/regex_affordances.html
Python regexes have a number of features that bring new power to text
manipulation. I’m not talking about fancy matching features like negative
look-behinds, but ways you can construct and use regexe
Nedbatchelder
Regex affordances
A tour of some real code showing little-used power features of the Python regular expression module.
Eli Bendersky: Sparsely-gated Mixture Of Experts (MoE)
Link: https://eli.thegreenplace.net/2025/sparsely-gated-mixture-of-experts-moe/
In transformer models, the
attention block
is typically followed by a feed forward layer (FF), which is a simple fully-connected
NN with a hidden layer and nonlinearity. Here's the code for such a blo
Link: https://eli.thegreenplace.net/2025/sparsely-gated-mixture-of-experts-moe/
In transformer models, the
attention block
is typically followed by a feed forward layer (FF), which is a simple fully-connected
NN with a hidden layer and nonlinearity. Here's the code for such a blo
Python GUIs: Multithreading PyQt6 applications with QThreadPool — Run background tasks concurrently without impacting your UI
Link: https://www.pythonguis.com/tutorials/multithreading-pyqt6-applications-qthreadpool/
A common problem when building Python GUI applications is the interface "locking up" when attempting to perform long-running background tasks. In this tutorial, we'll cover quick ways to achieve concu
Link: https://www.pythonguis.com/tutorials/multithreading-pyqt6-applications-qthreadpool/
A common problem when building Python GUI applications is the interface "locking up" when attempting to perform long-running background tasks. In this tutorial, we'll cover quick ways to achieve concu
Python GUIs
Multithreading PyQt6 applications with QThreadPool
Streamline your PyQt6 applications with efficient multithreading using QThreadPool. This guide offers practical steps for improving app performance by smoothly managing background processes, ensuring a responsive and dynamic user experience. A common problem…
TechBeamers Python: Matplotlib Practice Online: Free Exercises
Link: https://techbeamers.com/matplotlib-practice-online/
📝 Check out a comprehensive set of Matplotlib exercises and practice with our Online Matplotlib Compiler. This library is mainly used for data visualization in Python. From this tutorial, you will get
Link: https://techbeamers.com/matplotlib-practice-online/
📝 Check out a comprehensive set of Matplotlib exercises and practice with our Online Matplotlib Compiler. This library is mainly used for data visualization in Python. From this tutorial, you will get
TechBeamers
Matplotlib Practice Online: Free Exercises
📝 Check out a comprehensive set of Matplotlib exercises and practice with our Online Matplotlib Compiler. This library is mainly used for data visualization in Python. From this tutorial…