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

silver infinity symbol

ifcp 032 thumb

Python's disassembler: How to inspect Python bytecode

Python runs programs by compiling them into bytecode, an instruction set used to drive its interpreter. With the "dis" module, you can disassemble and examine bytecode from any Python program, and learn more about how your programs...

mechanic overhauling engine

Python 3.9: What’s new and better

Major Python update brings a faster release schedule, performance boosts, handy new string functions, dictionary union operators, and more consistent and stable internal APIs

straight vs. tangled path

Microsoft’s Playwright simplifies tests for Python web apps

Front-end tests for web apps have traditionally been a chore. Playwright offers an easier way to integrate those tests for Python.

learn 120132942

Learn Python: 5 great Python courses for beginners and beyond

Whether you're just getting started with Python, or you need a deep dive into machine learning or web development, these free and low-cost courses have you covered

spring cleaning 1

4 Python type checkers to keep your code clean

Mypy, Pytype, Pyright, and Pyre can help you keep your type-hinted Python code bug-free. Let’s see what each of these useful tools has to offer

An engineer reviews code.

Python style: 5 tools to clean up your Python code

Look to these free tools to ensure that your Python code complies with recommended Python coding conventions and code quality standards

Abstract Java code

How to work with the Python list data type

Use Python lists to store data in one-dimensional rows, access them by indexes, and sort them any which way you like

saddleback thirteener buckle

How to package Python apps with BeeWare Briefcase

Take advantage of BeeWare Briefcase to make Python programs that are a snap to deploy and easy to redistribute

A woman carefully studying survey data.

7 superb Python books for every skill level

Whether you’re a beginner, a moderately skilled dev, or an expert, there’s a book in this lineup to expand your Python programming powers

one red balloon rises above a line of white balloons

Python rises in RedMonk language rankings

Python trails only JavaScript while Java slips to third in the RedMonk rankings, its lowest-ever placement

youtube thumbnails template 021020

How Python's context managers help you clean up after yourself

Sometimes in Python programs you need to acquire external resources, like file handles, and then free them again. Python's context manager construction lets you automatically free things up when you're done with them, and in a way...

puzzle missing piece

4 powerful features Python is still missing

What new programming language features would you like to see added to Python? Here are four possibilities — some likely, some not

computer frustration woman orange

How to run Anaconda side by side with other Pythons

Want to use Anaconda alongside other Python distributions? Here’s how to keep those Python installs from stepping on each other’s toes

python programming language snake

Microsoft unveils Pylance, its new Python extension for Visual Studio Code

Pylance works with the existing Microsoft Python extension to bring faster type checking and program analysis to Python devs

Design thinking should be at the center of DX: Prashanth MJ, Sutherland Globalinnovation

How to use Python dataclasses

Take advantage of Python dataclasses to make your Python classes less verbose and more powerful at the same time

executive pushing boulder uphill deadline stress struggle

For data scientists, drudgery is still job #1

Data cleaning and preparation still eats up nearly half the workload of data scientists, according to Anaconda’s new survey

Glowing abstract numbers

Python may get pattern matching syntax

A proposal under consideration by Python’s development team would finally bring pattern matching statements to the language

mechanic wrench fix engine repair

3 steps to a Python async overhaul

How to speed up an existing Python program by reworking it to run concurrently using async

Load More