Python

Python | News, how-tos, features, reviews, and videos

speed_digital_car_lights_vehicle_fabio ballasina unsplash
one number first

youtube thumbnails template 021020
video

Python sets: Advanced operations

Learn how sets in Python can be used for more powerful work, by using their built-in methods to filter and merge the contents of sets quickly and easily.

pink wall with number 10 top ten

What’s new in Python 3.10

The latest version of Python sports powerful pattern matching features, better error reporting, and smarter typing syntax for wrapped functions.

youtube thumbnails template 021020
video

How to create sets in Python: Introduction

Learn how Python's set type can be used to create collections of unique objects, with powerful ways to inspect and manipulate their contents.

women spinning plates asynchronous programming synchrony multi tasking by graemenicholson getty ima

Python concurrency and parallelism explained

Learn how to use Python’s async functions, threads, and multiprocessing capabilities to juggle tasks and improve the responsiveness of your applications.

python snake programming language

Python slithers toward top of language popularity index

The Python programming language closes in on leader C in the September Tiobe rankings.

youtube thumbnails template 021020
video

FastAPI: Fast and easy JSON APIs with Python

Learn how Python's FastAPI framework can be used to quickly stand up JSON APIs, using modern Python features like async and type hints.

'Hello' written in many languages on chalkboard.

Visual Studio Code editor moves forward on language detection

Microsoft editor also supports native bracket pair colorization and TypeScript 4.4.

green tree python

Pyston, the Python alternative, gets backing from Anaconda

Lead developers hired by data science platform maker to improve Python performance and build a sustainable Pyston community.

wood block type

Get started with Python type hints

Learn how to use Python’s optional type hinting syntax for creating cleaner and more useful code bases.

youtube thumbnails template 021020
video

Type hinting in Python, Part 1: The basics

Learn the basics of how Python's type hinting system, optional but powerful, helps make your code easier to read, understand, and interact with.

bolts of light speeding through the acceleration tunnel 95535268

Get started with FastAPI

Take advantage of the FastAPI web framework and Python to quickly create snappy, OpenAPI-compliant, web APIs — and full websites, too.

youtube thumbnails template 021020
video

Cyclic garbage collection: Python memory management, Part 2

A closer look at the internals of Python's memory management system. In this video we examine the behavior of Python's cyclic garbage collector, which detects and removes orphaned objects that hold references only to each other, and...

OpenAI debuts Python-based Triton for GPU-powered machine learning

Triton uses Python’s syntax to compile to GPU-native code, without the complexities of GPU programming.

stopwatch / chronometer

6 stellar libraries for profiling Python code

Get deep insight into where your Python app is slow with these profiling utilities.

close up of a speedometer unit 57436662

GraalVM adds Native Image, compiler enhancements

Upgrade to the high-performance, multi-language runtime also offers improvements for Java, JavaScript, Ruby, Python, and WebAssembly.

big data analytics computer laptop app security

6 essential Python tools for data science—now improved

SciPy, Numba, Cython, Dask, Vaex, and Intel SDC all have new versions that aid big data analytics and machine learning projects.

nw circular staircase loop infinity nautilus by tine ivanic via unsplash

How to use the Python for loop

The for loop construction in Python easily iterates over a collection of items. Here’s what you need to know to use it well.

glowing lcd numbers 142986830

Speed up your Python with Numba

Want faster number-crunching in Python? You can speed up your existing Python code with the Numba JIT, often with only one instruction.

Load More