Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Stack Abuse: Python: How to Specify a GitHub Repo in requirements.txt

Link: https://stackabuse.com/python-how-to-specify-a-github-repo-in-requirements-txt/

Introduction
In Python the requirements.txt file helps manage dependencies. It's a simple text file that lists the packages that your Python project depends on. But did you know you can also specify a
CodersLegacy: pythonw.exe Tutorial: Running Python Scripts Silently

Link: https://coderslegacy.com/pythonw-exe-tutorial/

Python is a versatile programming language known for its simplicity and wide range of applications. It is commonly used for web development, data analysis, artificial intelligence, and more. While Pyt
Stack Abuse: How to Copy Files in Python

Link: https://stackabuse.com/how-to-copy-files-in-python/

Introduction
Whether you're reading data from files or writing data to files, understanding file operations is important. In Python, and other languages, we often need to copy files from one directory
PyBites: Excel Embraces Python, Opening Doors to New Roles and How PDI Can Help

Link: https://pybit.es/articles/excel-embraces-python-opening-doors-to-new-roles-and-how-pdi-can-help/

In this episode, we delve into the groundbreaking integration of Python within Microsoft Excel and its transformative impact on non-tech professions.
Listen here:

Or watch here:


Discover how this
Real Python: The Real Python Podcast – Episode #171: Making Each Line of Code Efficient & Python In Excel

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

Are you writing efficient Python with as few lines of code as possible? Are you familiar with the many built-in language features that will simplify your code and make it more Pythonic? Christopher Tr
Mike Driscoll: How to Validate an IP Address in Python

Link: https://www.blog.pythonlibrary.org/2023/09/08/how-to-validate-an-ip-address-in-python/

Validating data is one of the many tasks engineers face around the world. Your users make typos as often as anyone else, so you must try to catch those errors.
One common type of information that an e
Python Engineering at Microsoft: Python in Visual Studio Code – September 2023 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-september-2023-release/

We’re excited to announce the September 2023 release of the Python and Jupyter extensions for Visual Studio Code!
This release includes the following announcements:

“Recreate” or “Use Existing” optio
Stack Abuse: Determining the Size of an Object in Python

Link: https://stackabuse.com/determining-the-size-of-an-object-in-python/

Introduction
When writing code, you may need to determine how much memory a particular object is consuming. There are a number of reasons you may need to know this, with the most obvious reason being
Stack Abuse: Importing Multiple CSV Files into a Single DataFrame using Pandas in Python

Link: https://stackabuse.com/importing-multiple-csv-files-into-a-single-dataframe-using-pandas-in-python/

Introduction
In this Byte we're going to talk about how to import multiple CSV files into Pandas and concatenate them into a single DataFrame. This is a common scenario in data analysis where you need
Stack Abuse: When to Use Shebangs in Python Scripts

Link: https://stackabuse.com/when-to-use-shebangs-in-python-scripts/

Introduction
At some point when writing Python code, you may have come across a line at the top of some scripts that looks something like this: #!/usr/bin/env python3. This line, known as a shebang, i
Stack Abuse: The 'u' and 'r' String Prefixes and Raw String Literals in Python

Link: https://stackabuse.com/the-u-and-r-string-prefixes-and-raw-string-literals-in-python/

Introduction
While learning Python or reading someone else's code, you may have encountered the 'u' and 'r' prefixes and raw string literals. But what do these terms mean? How do they affect our Pytho
Stack Abuse: Parsing Boolean Values with Argparse in Python

Link: https://stackabuse.com/parsing-boolean-values-with-argparse-in-python/

Introduction
In this Byte, we'll be looking into Python's argparse module and how we can use it to parse boolean values from the command line. This is often used when you're writing a command line too
Mike Driscoll: PyDev of the Week: Jelle Zijlstra

Link: https://www.blog.pythonlibrary.org/2023/09/11/pydev-of-the-week-jelle-zijlstra/

This week, we welcome Jelle Zijlstra as our PyDev of the Week! Jelle is a core developer of the Python programming language. If you’d like to see what exactly Jelle is working on, you should check out
Stack Abuse: Maximum and Minimum Values for Integers in Python

Link: https://stackabuse.com/maximum-and-minimum-values-for-integers-in-python/

Introduction
Integers are one of the fundamental data types that you'll encounter. They're used in just about every application and understanding their limits can be crucial for avoiding errors or eve
Martin Fitzpatrick: Using MicroPython and uploading libraries on Raspberry Pi Pico

Link: https://blog.martinfitzpatrick.com/using-micropython-raspberry-pico/

MicroPython is an implementation of the Python 3 programming language, optimized to run on microcontrollers. It's one of the options available for programming your Raspberry Pi Pico and a nice friendl
Martin Fitzpatrick: PySide6 Book now available: Create GUI Applications with Python & Qt6

Link: https://blog.martinfitzpatrick.com/pyside6-book-create-gui-applications-python-qt6/

Hello! This morning I released the first Qt6 edition of my PySide book Create GUI Applications, with Python & Qt6.
This update follows the 4th Edition of the PySide2 book updating all the code example
Martin Fitzpatrick: PyQt6 Book now available: Create GUI Applications with Python & Qt6

Link: https://blog.martinfitzpatrick.com/pyqt6-book-create-gui-applications-python-qt6/

Hello! Today I have released the first PyQt6 edition of my book Create GUI Applications, with Python & Qt6.
This update follows the 4th Edition of the PyQt5 book updating all the code examples and add
Martin Fitzpatrick: PySide6 tutorial now available

Link: https://blog.martinfitzpatrick.com/pyside-tutorial-now-available/

Hello! With the release of Qt6 versions of PyQt and PySide the course was getting a little crowded. So, today I've split the PySide tutorials into their own standalone PySide2 course and PySide6 cours
Martin Fitzpatrick: DiffCast: Hands-free Python Screencast Creator

Link: https://blog.martinfitzpatrick.com/diffcast-python-screencast-creator/

Programming screencasts are a popular way to teach programming and demo tools. Typically people will open up their favorite editor and record themselves tapping away. But this has a few problems. A go
Martin Fitzpatrick: PyQt6, PySide6, PyQt5 and PySide2 Books -- updated for 2022!

Link: https://blog.martinfitzpatrick.com/pyqt6-pyqt5-books-updated-2022/

Hello! Today I have released new digital editions of my PyQt5, PyQt6, PySide2 and PySide6 book Create GUI Applications with Python & Qt.

PyQt6 Book 5th Edition, Create GUI Applications with Python &