Quantcast
Channel: Planet Python
Browsing all 23616 articles
Browse latest View live

Daniel Roy Greenfeld: TIL: ^ bitwise XOR

How to mark a comparison of booleans as True or False using bitwise XOR.

View Article


Image may be NSFW.
Clik here to view.

John Cook: Converting between quaternions and rotation matrices

In the previous post I wrote about representing rotations with quaternions. This representation has several advantages, such as making it clear how rotations compose. Rotations are often represented as...

View Article


Real Python: How to Use Loguru for Simpler Python Logging

In Python, logging is a vital programming practice that helps you track, understand, and debug your application’s behavior. Loguru is a Python library that provides simpler, more intuitive logging...

View Article

Django Weblog: Django security releases issued: 5.2.1, 5.1.9 and 4.2.21

In accordance with our security release policy, the Django team is issuing releases for Django 5.2.1, Django 5.1.9 and Django 4.2.21. These releases address the security issues detailed below. We...

View Article

Python Insider: Python 3.14.0 beta 1 is here!

Only one day late, welcome to the first beta!https://www.python.org/downloads/release/python-3140b1/This is a beta preview of Python 3.14Python 3.14 is still in development. This release, 3.14.0b1, is...

View Article


Image may be NSFW.
Clik here to view.

The Python Coding Stack: "AI Coffee" Grand Opening This Monday • A Story...

Alex had one last look around. You could almost see a faint smile emerge from the deep sigh—part exhaustion and part satisfaction. He was as ready as he could be. His new shop was as ready as it could...

View Article

Test and Code: pytest-metadata - provides access to test session metadata

pytest-metadata is described as a plugin for pytest that provides access to test session metadata. That is such a humble description for such a massively useful plugin. If you're already using...

View Article

eGenix.com: PyDDF Python Spring Sprint 2025

The following text is in German, since we're announcing a Python sprint in Düsseldorf, Germany.AnkündigungPython Meeting Spring Sprint 2025 inDüsseldorfSamstag, 24.05.2025, 10:00-18:00 Uhr Sonntag,...

View Article


Real Python: Quiz: Python Logging With the Loguru Library

In this quiz, you’ll test your understanding of How to Use Loguru for Simpler Python Logging.By working through this quiz, you’ll revisit key concepts like installing Loguru, basic logging, formatting,...

View Article


Seth Michael Larson: A(nimal Cros)SCII

What is the character encoding for Animal Crossing? This page details all the characters that are allowed for player names, town names, and passwords in Animal Crossing for the GameCube. A much larger...

View Article

Image may be NSFW.
Clik here to view.

Python Engineering at Microsoft: Python in Visual Studio Code – May 2025 Release

We’re excited to announce the May 2025 release of the Python, Pylance and Jupyter extensions for Visual Studio Code!This release includes the following announcements:Python Environments Quick Create...

View Article

Daniel Roy Greenfeld: Exploring flexicache

An exploration of using flexicache for caching in Python.

View Article

Real Python: The Real Python Podcast – Episode #248: Experiments With Gen AI,...

Are you looking for some projects where you can practice your Python skills? Would you like to experiment with building a generative AI app or an automated knowledge graph sentiment analysis tool? This...

View Article


Python GUIs: What does @Slot() do? — Is the Slot decorator even necessary?

When working with Qt slots and signals in PySide6 you will discover the @Slot decorator. This decorator is used to mark a Python function or method as a slot to which a Qt signal can be connected....

View Article

Real Python: Python's T-Strings Coming Soon and Other Python News for May 2025

Welcome to the May 2025 edition of the Python news roundup. Last month brought confirmation that Python will have the eagerly-awaited template strings, or t-strings, included in the next release....

View Article


Luke Plant: Knowledge creates technical debt

The term technical debt, now used widely in software circles, was coined to explain a deliberate process where you write software quickly to gain knowledge, and then you have to use that knowledge...

View Article

Paolo Melchiorre: My DjangoCon Europe 2025

A summary of my experience at DjangoCon Europe 2025 told through the posts I published on Mastodon during the conference.

View Article


Quansight Labs Blog: The first year of free-threaded Python

A recap of the first year of work on enabling support for the free-threaded build of CPython in community packages.

View Article

Talk Python to Me: #505: t-strings in Python (PEP 750)

Python has many string formatting styles which have been added to the language over the years. Early Python used the % operator to injected formatted values into strings. And we have string.format()...

View Article

Real Python: Working With Missing Data in Polars

Efficiently handling missing data in Polars is essential for keeping your datasets clean during analysis. Polars provides powerful tools to identify, replace, and remove null values, ensuring seamless...

View Article
Browsing all 23616 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>