Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Python Exceptions: An Introduction

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

A Python program terminates as soon as it encounters an error. In Python, an error can be a syntax error or an exception. In this tutorial, you’ll see what an exception is and how it differs from a sy
Anarcat: router archeology: the Soekris net5001

Link: https://anarc.at/hardware/server/roadkiller/

Roadkiller was a Soekris net5501 router I used as my main gateway
between 2010 and 2016 (for réseau and
téléphone).
It was upgraded to FreeBSD 8.4-p12 (2014-06-06) and pkgng. It was
retired in favor o
Brian Okken: pytest 8 is here

Link: https://pythontest.com/pytest/pytest-8-is-here/

pytest 8.0.0 was released on 17-Jan-2024, and I’m pretty excited about it.
I’m not going to cover all fo the changes, I’ll just highlight a few.
For full set of changes, see the pytest changelog:
Cha
Erik Marsja: Pandas: Cumulative Sum by Group

Link: https://www.marsja.se/pandas-cumulative-sum-by-group/

The post Pandas: Cumulative Sum by Group appeared first on Erik Marsja.
In this post, we learn how to use Pandas to calculate a cumulative sum by group, a sometimes important operation in data analysi
death and gravity: Limiting concurrency in Python asyncio: the story of async imap_unordered()

Link: https://death.andgravity.com/limit-concurrency

So, you're doing some async stuff, repeatedly, many times.
Like, hundreds of thousands of times.
Maybe you're scraping some data.
Maybe it's more complicated
– you're calling an API,
and then passing
Kay Hayen: Nuitka this week #15

Link: https://nuitka.net/posts/nuitka-this-week-15.html

This is a weekly update, or at least it’s supposed to be of what’s going
on in Nuitka land, for you to learn about ongoing developments and
important changes to the project.
In this issue, I am first
Real Python: Building Enumerations With Python’s enum

Link: https://realpython.com/courses/python-enum/

Some programming languages, such as Java and C++, have built-in support for a data type called enumerations, commonly referred to as enums. Enums enable you to create sets of logically related constan
Python⇒Speed: Profiling your Numba code

Link: https://pythonspeed.com/articles/numba-profiling/

pre {
font-size: 90% !important;
}


If you’re writing numeric Python code, Numba can be a great way to speed up your program.
By compiling a subset of Python to machine code, Numba lets you write
ListenData: 4 Ways to Correct Grammar with Python

Link: https://www.listendata.com/2024/01/4-ways-to-correct-grammar-with-python.html

This tutorial explains various methods for checking and correcting grammatical errors using Python.

To read this article in full, please click hereThis post appeared first on ListenData
Awesome Python Applications: Duplicity

Link: https://gitlab.com/duplicity/duplicity


Duplicity: Encrypted bandwidth-efficient backup tool, using the rsync algorithm.
Links:

Repo
Home
Docs
PyCoder’s Weekly: Issue #614 (Jan. 30, 2024)

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

#614 – JANUARY 30, 2024 View in Browser » Create a Tic-Tac-Toe Python Game Engine With an AI Player In this video course, you’ll create a universal game engine in Python for tic-tac-toe with two
Zero to Mastery: Python Monthly Newsletter 💻🐍

Link: https://zerotomastery.io/blog/python-monthly-newsletter-january-2024/?utm_source=python-rss-feed

49th issue of Andrei Neagoie's must-read monthly Python Newsletter: Weekend Project Idea, Python + A.I., Why Type_Checking, and much more. Read the full newsletter to get up-to-date with everything yo
Programiz: Python Program to Compute the Power of a Number

Link: https://www.programiz.com/python-programming/examples/power

In this example, you will learn to compute the power of a number.
Python Software Foundation: Kicking off 2024 strong, thanks to our community!

Link: https://pyfound.blogspot.com/2024/01/kicking-off-2024-strong.html

We are starting off the year feeling energized and supported, thanks to each of you who shared or donated to our year-end fundraiser and membership drive. We raised a whopping $43,000 through our PyCh
Real Python: Python's Format Mini-Language for Tidy Strings

Link: https://realpython.com/python-format-mini-language/

When you’re doing string interpolation in your Python code, you often need to format the interpolated values to meet some formatting requirements. To do this, Python provides what is known as the form
The Python Coding Blog: Why Should Only The Grown-Ups Have Fun With Python?

Link: https://thepythoncodingbook.com/2024/01/31/codetoday-unlimited-coding-in-python-for-teenagers-children/

If you’re reading this, you’re possibly familiar with my Python work for adults. What you may not know is that most of my time over the past 8 years has been devoted to teaching Python to children and