An introduction to the ipaddress module
This document aims to provide a gentle introduction to the ipaddress module. It is aimed primarily at users that aren?t already familiar with IP networking terminology, but may also be useful to network engineers wanting an overview of how ipaddress represents IP network addressing concepts.
This tutorial is intended to be a gentle introduction to argparse, the recommended command-line parsing module in the Python standard library.
Argument Clinic How-To
Argument Clinic is a preprocessor for CPython C files. Its purpose is to automate all the boilerplate involved with writing argument parsing code for ?builtins?. This document shows you how to convert your first C function to work with Argument Clinic, and then introduces some advanced topics on Argument Clinic usage.
Curses Programming with Python
an introduction to writing text-mode programs using Python and curses
Descriptor HowTo Guide
Defines descriptors, summarizes the protocol, and shows how descriptors are called. Examines a custom descriptor and several built-in python descriptors including functions, properties, static methods, and class methods. Shows how each works by giving a pure Python equivalent and a sample application.
Functional Programming HOWTO
In this document, we?ll take a tour of Python?s features suitable for implementing programs in a functional style. After an introduction to the concepts of functional programming, we?ll look at language features such as iterators and generators and relevant library modules such as itertools and functools.
HOWTO Fetch Internet Resources Using The urllib Package
urllib.request is a Python module for fetching URLs (Uniform Resource Locators).
This page contains a number of recipes related to logging, which have been found useful in the past.
Logging is a means of tracking events that happen when some software runs. The software?s developer adds logging calls to their code to indicate that certain events have occurred.
Porting Extension Modules to Python 3
Although changing the C-API was not one of Python 3?s objectives, the many Python-level changes made leaving Python 2?s API intact impossible. In fact, some changes such as int() and long() unification are more obvious on the C level. This document endeavors to document incompatibilities and how they can be worked around.
Porting Python 2 Code to Python 3
With Python 3 being the future of Python while Python 2 is still in active use, it is good to have your project available for both major releases of Python. This guide is meant to help you figure out how best to support both Python 2 & 3 simultaneously.
discusses how to convert Python code that uses the regex module to the newer and fancier re module
Regular Expression HOWTO
an introduction to using regular expressions and the re module to process text
Socket Programming HOWTO
sockets are used nearly everywhere, but are often misunderstood. This is a high-level overview of sockets, that doesn't cover all the fine points (there are a lot of them), but will give you enough background to begin using them decently
a little tutorial showing a half dozen ways to sort a list with the built-in sort() method
Ten essential Python tips for beginners
We?ve compiled ten essential Python tips especially for the new user.
Think Python - How to Think Like a Computer Scientist
Think Python is a concise and gentle introduction to software design using the Python programming language. Intended for would-be developers with no programming experience, this book starts with the most basic concepts and gradually adds new material at a pace that is comfortable to the reader.
This HOWTO discusses Python support for Unicode, and explains various problems that people commonly encounter when trying to work with Unicode.