Planet Python RSS
215 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Brian Okken: pytest Course

Link: https://pythontest.com/posts/2023/2023-pytest-course/

Introducing the “Python Testing with pytest” Course Bundle.
This is a video course series based on “Python Testing with pytest, 2nd edition”.
It’s currently in an early “Pre-Release Beta” stage. There
Mike Driscoll: Python 101 – Expanding Paths and Variables

Link: https://www.blog.pythonlibrary.org/2023/08/22/python-101-expanding-paths-and-variables/

Working with file and folder paths in Python can take time and effort. Fortunately, the Python programming language has a couple of great packages to help you!
This tutorial will teach you how to expa
Real Python: Replacing a String in Python

Link: https://realpython.com/courses/replace-string-python/

If you’re looking for ways to remove or replace all or part of a string in Python, then this course is for you. You’ll be taking a fictional chat room transcript and sanitizing it using both the .repl
Stack Abuse: Handling Yes/No User Input in Python

Link: https://stackabuse.com/handling-yes-no-user-input-in-python/

Introduction
In this Byte, we'll see how to handle user input in Python, specifically how to get a Yes/No answer. This kind of input is needed in quite a few applications, like command line utilities.
Python Bytes: #349 Djangonauts: Ready for Takeoff!

Link: https://pythonbytes.fm/episodes/show/349/djangonauts-ready-for-takeoff

<a href='https://www.youtube.com/watch?v=ZMVE6EwEdCs' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>

<p>Sponsored by us! Support our work through:</p
PyCoder’s Weekly: Issue #591 (Aug. 22, 2023)

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

#591 – AUGUST 22, 2023 View in Browser » Python Polars: A Lightning-Fast DataFrame Library Welcome to the world of Polars, a powerful DataFrame library for Python! In this showcase tutorial, you
meejah.ca: magic-wormhole 0.13.0 released

Link: https://meejah.ca/blog/magic-womrhole-0.13.0

At long last a new release of magic-folder
Eli Bendersky: My favorite prime number generator

Link: https://eli.thegreenplace.net/2023/my-favorite-prime-number-generator/

Many years ago I've re-posted a Stack Overflow answer with Python code for a terse prime sieve
function that generates a potentially infinite sequence of prime
numbers ("potentially" because it will r
Marcos Dione: disk-usage-while-importing-an-osm-rendering-database

Link: http://www.grulic.org.ar/~mdione/glob//posts/disk-usage-while-importing-an-osm-rendering-database/

Preface: I wanted to include the updating part in this post, but it got too long already, so I'll split it in two. I
will update this post when the second comes out.
TL;DR version: import seems to use
Stack Abuse: Fix "Could not install packages due to an OSError: [WinError 2]" Error

Link: https://stackabuse.com/fix-could-not-install-packages-due-to-an-oserror-winerror-2-error/

Introduction
Python, an open-source language used by many developers, sometimes presents us with error messages that can be difficult to decipher. One such error message is "Could not install packages
Mike Driscoll: Python in Excel Announcement!

Link: https://www.blog.pythonlibrary.org/2023/08/23/python-in-excel-announcement/

Microsoft announced that Python is now a part of Excel! Guido van Rossum mentioned on Twitter that he helped the Excel team add Python to the popular spreadsheet application.
You can get Python in Exc
Stack Abuse: Solving "NameError: name 'random' is not defined" in Python

Link: https://stackabuse.com/solving-random-is-not-defined-nameerror-in-python/

Introduction
In Python, one of the most common errors that beginners and even some seasoned programmers encounter is the NameError: name 'random' is not defined. This error often pops up when trying t
Real Python: Click and Python: Build Extensible and Composable CLI Apps

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

You can use the Click library to quickly provide your Python automation and tooling scripts with an extensible, composable, and user-friendly command-line interface (CLI). Whether you’re a developer,
Stack Abuse: Fixing "NameError: name 'df'/'pd' is not defined" in Python

Link: https://stackabuse.com/fixing-nameerror-name-df-pd-is-not-defined-in-python/

Introduction
When using Pandas in Python, a library for data manipulation and analysis, you might have encountered an error like "NameError: name 'df'/'pd' is not defined". In this Byte, we'll show wh
Test and Code: 206: TDD in Context

Link: https://testandcode.com/episodes/206-tdd-in-context

TDD (Test Driven Development) started from Test First Programming, and has been around at least since the 90's. However, software tools and available CI systems have changed quite a bit since then. Ma
Stack Abuse: Incompatible Type Comparisons in Python

Link: https://stackabuse.com/incompatible-type-comparisons-in-python/

Introduction
In Python, we often encounter a variety of errors and exceptions while writing or executing a script. A very common error, especially for beginners, is TypeError: '<' not supported betwee
Stack Abuse: Get All Object Attributes in Python

Link: https://stackabuse.com/get-all-object-attributes-in-python/

Introduction
In Python, everything is an object - from integers and strings to classes and functions. This may seem odd, especially for primitive types like numbers, but even those have attributes, li
Stack Abuse: Creating a Directory and its Parent Directories in Python

Link: https://stackabuse.com/creating-a-directory-and-its-parent-directories-in-python/

Introduction
In Python, we often need to interact with the file system, whether it's reading files, writing to them, or creating directories. This Byte will focus on how to create directories in Pytho
PyBites: Harnessing Downtime: The Power of Disconnecting

Link: https://pybit.es/articles/harnessing-downtime-the-power-of-disconnecting/

In this episode of the Pybites podcast, we dive into the power of stepping back from the daily grind, whether that’s coding or career-focused
Watch here:


Or listen here:

Drawing insights from Juli