Planet Python RSS
218 subscribers
16.7K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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)
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
death and gravity: Process​Thread​Pool​Executor: 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
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
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
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
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
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
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
Real Python: Quiz: Shallow vs Deep Copying of Python Objects

Link: https://realpython.com/quizzes/python-copy/

In this quiz, you’ll test your understanding of Shallow vs Deep Copying of Python Objects.
By working through this quiz, you’ll revisit the concepts of shallow and deep copying, and how they affect mu
Talk Python to Me: #502: Django Ledger: Accounting with Python

Link: https://talkpython.fm/episodes/show/502/django-ledger-accounting-with-python

Do you or your company need accounting software? Well, there are plenty of SaaS products out there that you can give your data to. but maybe you also really like Django and would rather have a foundat
Real Python: Shallow vs Deep Copying of Python Objects

Link: https://realpython.com/copying-python-objects/

Python’s assignment statements don’t copy objects as they do in some other programming languages. Instead, they create bindings between your variable names and objects. For immutable objects, this dis
ListenData: How to Use Gemini API in Python

Link: https://www.listendata.com/2024/05/how-to-use-gemini-in-python.html


In this tutorial, you will learn how to use Google's Gemini AI model through its API in Python.
Update (April 21, 2025) : The tutorial has been updated for the latest Gemini model - Gemini 2.5 Flash
Python Software Foundation: PSF Grants Program 2024 Transparency Report

Link: https://pyfound.blogspot.com/2025/04/psf-grants-program-2024-transparency.html

The PSF’s Grants Program is a key plank in our charitable mission
to promote, protect, and advance the Python programming language and to
support and facilitate the growth of a diverse and internati
Real Python: Shallow vs Deep Copying of Python Objects

Link: https://realpython.com/python-copy/

Python’s assignment statements don’t copy objects as they do in some other programming languages. Instead, they create bindings between your variable names and objects. For immutable objects, this dis
Wingware: Wing Python IDE 11 Beta 2 - April 22, 2025

Link: https://wingware.com/news/2025-04-22

Wing 11 beta2 is now available. It introduces support for Claude, Grok, Gemini, Perplexity,
Mistral, Deepseek, Ollama, and other OpenAI API compatible AI providers.
Wing 11 is a new major release of
Real Python: MySQL Databases and Python

Link: https://realpython.com/courses/mysql-databases-python/

MySQL is one of the most popular database management systems (DBMSs) on the market today. It ranked second only to the Oracle DBMS in this year’s DB-Engines Ranking. As most software applications need
PyCoder’s Weekly: Issue #678: Namespaces, __init__, Sets, and More (April 22, 2025)

Link: https://pycoders.com/issues/678

#678 – APRIL 22, 2025 View in Browser » Namespaces in Python In this tutorial, you’ll learn about Python namespaces, the structures that store and organize the symbolic names during the executio