Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python GUIs: PyQt vs. Tkinter — Which Should You Choose for Your Next GUI Project?

Link: https://www.pythonguis.com/faq/pyqt-vs-tkinter/

Graphical User Interfaces (GUIs) allow users to interact with software through intuitive and user-friendly graphical elements such as buttons, icons, text boxes, and windows. GUIs provide a simple way
Python GUIs: Input Validation in Tkinter GUI Apps

Link: https://www.pythonguis.com/tutorials/input-validation-tkinter/

When writing GUI applications you often need to accept data from users. A reliable application must verify and validate all its input data before taking any further action or doing any processing. Inp
Python GUIs: PyQt6 Book now available in Korean: 파이썬과 Qt6로 GUI 애플리케이션 만들기

Link: https://www.pythonguis.com/blog/pyqt6-book-translated-korean/

I am very happy to announce that my Python GUI programming book
Create GUI Applications with Python & Qt6 / PyQt6 Edition is now available
in Korean from Acorn Publishing
It's more than a little mind-
Python GUIs: Getting Started With Kivy for GUI Development

Link: https://www.pythonguis.com/tutorials/getting-started-kivy/

Kivy is an open-source Python software library for developing graphical user interfaces. It supports cross-platform development for the desktop as well as the creation of multi-touch apps for mobile d
Python GUIs: Customizing Your Tkinter App's Windows

Link: https://www.pythonguis.com/tutorials/customized-windows-tkinter/

Different desktop applications have different design requirements. If you look at the applications on your computer, you will see that most of them have different window designs. Some applications, li
Janusworx: derb; Script to Create podcast RSS feeds

Link: https://janusworx.com/blog/derb/

I wrote a tiny script that creates an RSS feed for all the audio files it finds in a folder.
I call it derb.
My mother gets devotional songs and sermons on cds, which I rip to MP3 files and then dump
Stack Abuse: Creating a Zip Archive of a Directory in Python

Link: https://stackabuse.com/creating-a-zip-archive-of-a-directory-in-python/

Introduction
When dealing with large amounts of data or files, you might find yourself needing to compress files into a more manageable format. One of the best ways to do this is by creating a zip arc
Python Software Foundation: Announcing Python Software Foundation Fellow Members for Q2 2023! 🎉

Link: https://pyfound.blogspot.com/2023/09/announcing-python-software-foundation.html

The PSF is pleased to announce its second batch of PSF Fellows for 2023! Let us welcome the new PSF Fellows for Q2! The following people continue to do amazing things for the Python community:Esteban
Stack Abuse: How to Disable Warnings in Python

Link: https://stackabuse.com/how-to-disable-warnings-in-python/

Introduction
Working with any language, you've probably come across warnings - and lots of them. In Python, our warnings are the yellow-highlighted messages that appear when code runs. These warnings
Stack Abuse: Check if Elements in List Matches a Regex in Python

Link: https://stackabuse.com/check-if-elements-in-list-matches-a-regex-in-python/

Introduction
Let's say you have a list of home addresses and want to see which ones reside on a "Street", "Ave", "Lane", etc. Given the variability of physical addresses, you'd probably want to use a
Real Python: The Real Python Podcast – Episode #172: Measuring Multiple Facets of Python Performance With Scalene

Link: https://realpython.com/podcasts/rpp/172/

When choosing a tool for profiling Python code performance, should it focus on the CPU, GPU, memory, or individual lines of code? What if it looked at all those factors and didn't alter code performan
Stack Abuse: How to Delete a Global Variable in Python

Link: https://stackabuse.com/how-to-delete-a-global-variable-in-python/

Introduction
In Python, variables declared outside of the function or in global space are known as global variables. These variables can be accessed by any function in the program. However, there may
PyBites: Write more maintainable Python code, avoid these 15 code smells

Link: https://pybit.es/articles/write-more-maintainable-python-code-avoid-these-15-code-smells/

This week we talk about code smells.
Listen here:

Also available on our YouTube channel:

While there, like and subscribe to get similar content regularly …



Code smells are characteristics in the
Data School: Simulate the Monty Hall problem in Python 🐐🚘🐐

Link: https://www.dataschool.io/python-probability-simulation/

There&aposs a classic probability puzzle based on the TV game show "Let&aposs Make a Deal" and named after its host, Monty Hall. Here&aposs the puzzle:
You are a contestant on a game show. In front of
Stack Abuse: How to Get HTTP Headers in a Flask App

Link: https://stackabuse.com/how-to-get-http-headers-in-a-flask-app/

Introduction
In this Byte we'll be taking a look at HTTP request headers in Flask. They can carry important information between the client and the server, and understanding how to access them is neede
Shannon -jj Behrens: Python: My Favorite Python Tricks for LeetCode Questions

Link: http://www.jjinux.com/2022/08/python-my-favorite-python-tricks-for.html

I've been spending a lot of time practicing on LeetCode recently, so I thought I'd share some of my favorite intermediate-level Python tricks. I'll also cover some newer features of Python you may not
Mike Driscoll: PyDev of the Week: Timothée Mazzucotelli

Link: https://www.blog.pythonlibrary.org/2023/09/18/pydev-of-the-week-timothee-mazzucotelli/

This week, we welcome Timothée Mazzucotelli (@pawamoy) as our PyDev of the Week! Timothée is the author of mkdocstrings.
You can see what else Timothée has been up to by visiting Timothée’s  showcase.
Stack Abuse: Convert a List of Dictionaries to a Pandas DataFrame in Python

Link: https://stackabuse.com/convert-a-list-of-dictionaries-to-a-pandas-dataframe-in-python/

Introduction
In data analysis applications, one possible way to store data in Python is in a list of dictionaries. But what if you want to perform more complex operations on your data, like sorting, f