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

Image may be NSFW.
Clik here to view.

Python Morsels: Commenting in Python

Python's comments start with an octothorpe character.Table of contentsWriting a comment in PythonInline comments in PythonBest practices for commenting in PythonComment as needed, but not too...

View Article


Image may be NSFW.
Clik here to view.

Zato Blog: Service-oriented API task scheduling

Service-oriented API task scheduling 2024-09-09, by Dariusz Suchojad An integral part of Zato, its scalable, service-oriented scheduler makes it is possible to execute high-level API integration...

View Article


Armin Ronacher: Multiversion Python Thoughts

Now that uv is rapidly advancing I have started to dive back into making multi-version imports for Python work. The goal here is to enable multiple resolutions from the solver in uv so that two...

View Article

Image may be NSFW.
Clik here to view.

Mike Driscoll: Adding Terminal Effects with Python

The Python programming language has thousands of wonderful third-party packages available on the Python Package Index. One of those packages is TerminalTextEffects (TTE), a terminal visual effects...

View Article

Image may be NSFW.
Clik here to view.

PyCharm: How to Use Jupyter Notebooks in PyCharm Professional

PyCharm is one of the most well-known data science tools, offering excellent out-of-the-box support for Python, SQL, and other languages. PyCharm also provides integrations for Databricks, Hugging Face...

View Article


Real Python: Python News Roundup: September 2024

As the autumn leaves start to fall, signaling the transition to cooler weather, the Python community has warmed up to a series of noteworthy developments. Last month, a new maintenance release of...

View Article

Hynek Schlawack: Production-ready Python Docker Containers with uv

Starting with 0.3.0, Astral’s uv brought many great features, including support for cross-platform lock files uv.lock. Together with subsequent fixes, it has become Python’s finest workflow tool for my...

View Article

Python Bytes: #400 Celebrating episode 400

<strong>Topics covered in this episode:</strong><br> <ul> <li><strong>Python 3.13.0RC2, 3.12.6, 3.11.10, 3.10.15, 3.9.20, and 3.8.20 are now...

View Article


Python Anywhere: Issues after system maintenance on 2024-09-05

tl;drOn Thursday 5 September 2024 we performed some system maintenance. It appeared to have gone well, and was completed at the scheduled time (06:20 UTC), but unfortunately there were unexpected...

View Article


Python Circle: Removing PDF pages using Python and PyPDF2

Python code to remove pages from PDF files. How to delete pages from PDF files. Trim a PDF file. Pull a few pages from the PDF file and make a new one. Reduce PDF file size.

View Article

Real Python: When to Use .__repr__() vs .__str__() in Python

One of the most common tasks that a computer program performs is to display data. The program often displays this information to the program’s user. However, a program also needs to show information to...

View Article

Quansight Labs Blog: Announcing Scientific Python Accessibility Events

I am happy to announce two upcoming public events focused on helping the scientific Python ecosystem develop their accessibility skills before the new year.

View Article

Image may be NSFW.
Clik here to view.

PyCoder’s Weekly: Issue #646 (Sept. 10, 2024)

#646 – SEPTEMBER 10, 2024View in Browser »Using Pydantic to Simplify Python Data Validation Discover the power of Pydantic, Python’s most popular data parsing, validation, and serialization library. In...

View Article


Image may be NSFW.
Clik here to view.

ListenData: How to Integrate Gemini API with Python

In this tutorial, you will learn how to use Google's Gemini AI model through its API in Python.Steps to Access Gemini APIFollow the steps below to access the Gemini API and then use it in python.Visit...

View Article

Image may be NSFW.
Clik here to view.

Real Python: How to Use Conditional Expressions With NumPy where()

The NumPy where() function is a powerful tool for filtering array elements in lists, tuples, and NumPy arrays. It works by using a conditional predicate, similar to the logic used in the WHERE or...

View Article


Glyph Lefkowitz: Python macOS Framework Builds

When you build Python, you can pass various options to ./configure that change aspects of how it is built. There is documentation for all of these options, and they are things like --prefix to tell the...

View Article

Real Python: Quiz: Python Virtual Environments: A Primer

So you’ve been primed on Python virtual environments! Test your understanding of the tutorial here.[ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your...

View Article


Real Python: Quiz: Python 3.13: Free-Threading and a JIT Compiler

In this quiz, you’ll test your understanding of the new features in Python 3.13.By working through this quiz, you’ll revisit how to compile a custom Python build, disable the Global Interpreter Lock...

View Article

Will Kahn-Greene: Switching from pyenv to uv

PremiseThe 0.4.0 release of uv does everything I currently do with pip, pyenv, pipx, pip-tools, and pipdeptree. Because of that, I'm in the process of switching to uv.This blog post covers switching...

View Article

James Bennett: Know your Python container types

This is the last of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve....

View Article
Browsing all 24352 articles
Browse latest View live


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