Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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 &
Martin Fitzpatrick: Getting started with VS Code for Python

Link: https://blog.martinfitzpatrick.com/getting-started-vs-code-python/

Setting up a working development environment is the first step for any project. Your development environment setup will determine how easy it is to develop and maintain your projects over time. That m
Martin Fitzpatrick: Working With Classes in Python

Link: https://blog.martinfitzpatrick.com/python-classes/

Python supports object-oriented programming (OOP) through classes, which allow you to bundle data and behavior in a single entity. Python classes allow you to quickly model concepts by creating repres
Martin Fitzpatrick: Getting Started With Git and GitHub in Your Python Projects

Link: https://blog.martinfitzpatrick.com/git-github-python/

Using a version control system (VCS) is crucial for any software development project. These systems allow developers to track changes to the project's codebase over time, removing the need to keep mul
Martin Fitzpatrick: PyQt6 Book now available in Korean: 파이썬과 Qt6로 GUI 애플리케이션 만들기

Link: https://blog.martinfitzpatrick.com/pyqt6-book-now-available-in-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-
Real Python: Object-Oriented Programming (OOP) in Python 3

Link: https://realpython.com/python3-object-oriented-programming/

Object-oriented programming (OOP) is a method of structuring a program by bundling related properties and behaviors into individual objects. In this tutorial, you’ll learn the basics of object-oriente
Talk Python to Me: #429: Taming Flaky Tests

Link: https://talkpython.fm/episodes/show/429/taming-flaky-tests

We write tests to show us when there are problems with our code. But what if there are intermittent problems with the tests themselves? That can be big hassle. In this episode, we have Gregory Kapfham
death and gravity: When to use classes in Python? When you repeat the same functions

Link: https://death.andgravity.com/same-functions

Are you having trouble figuring out when to use classes or how to organize them?
Have you repeatedly searched for "when to use classes in Python",
read all the articles and watched all the talks,
and
Stack Abuse: Remove Trailing Newlines in Python

Link: https://stackabuse.com/remove-trailing-newlines-in-python/

Introduction
Handling string data is a task that most software has to do in some capacity. These strings aren't always properly formatted, like those that may have a trailing newline that doesn't actu
scikit-learn: scikit-learn 2023 In-person Developer Sprint in Paris, France

Link: https://blog.scikit-learn.org/events/paris-dev-sprint/













Author:
Reshama Shaikh
,












François Goupil



During the week of June 19 to 23, 2023, the scikit-learn team held its first developer
Real Python: Inheritance and Internals: Object-Oriented Programming in Python

Link: https://realpython.com/courses/python-class-inheritance/

Python includes mechanisms for writing object-oriented code where the
data and operations on that data are structured together. The class keyword
is how you create these structures in Python. The defi