Every page is quotes with their sources; every tool was tested against an independent reference before it was listed. Reading and running are free for each internet address, up to 100 uses or $2.00 a day, whichever runs out first; searching is always free.
If not specified, the strings default to blanks. import sys from difflib import * s1 = \['bacon\\n', 'eggs\\n'…
Python Bytecode Instructions¶ The get_instructions() function and Bytecode class provide details of bytecode…
The string is converted to a Python script, where doctest examples in s are converted to regular code, and everything…
The Python Software Foundation is a non-profit corporation. — [email — An email and MIME handling package — Python…
BLUE = 3 # functional syntax Color = Enum('Color', \[('RED', 1), ('GREEN', 2), ('BLUE', 3)\]) Even though we can use…
ENOLCK¶ No record locks available errno. — [errno — Standard errno system symbols — Python 3.13.18 documentation…
LOCK_UN¶ Release an existing lock. fcntl. — [fcntl — The fcntl and ioctl system calls — Python 3.13.18 documentation…
The Python Software Foundation is a non-profit corporation. — [filecmp — File and Directory Comparisons — Python…
The Python Software Foundation is a non-profit corporation. — [fileinput — Iterate over lines from multiple input…
The Python Software Foundation is a non-profit corporation. — [fnmatch — Unix filename pattern matching — Python…
Fraction(other_fraction) class fractions. — [fractions — Rational numbers — Python 3.13.18 documentation…
In Python 3.12+ this locking is removed. functools.cmp_to_key(func)¶ Transform an old-style comparison function to a…
The Python Software Foundation is a non-profit corporation. — [gc — Garbage Collector interface — Python 3.13.18…
The Python Software Foundation is a non-profit corporation. — [getopt — C-style parser for command line options —…
The Python Software Foundation is a non-profit corporation. — [getpass — Portable password input — Python 3.13.18…
With these two programs, you may not need the GNU gettext package to internationalize your Python applications.)…
The glob module defines the following functions: glob.glob(pathname, *, root_dir=None, dir_fd=None, recursive=False…
The Python Software Foundation is a non-profit corporation. — [graphlib — Functionality to operate with graph-like…
The Python Software Foundation is a non-profit corporation. — [grp — The group database — Python 3.13.18 documentation…
In case gzip (de)compression is a bottleneck, the python-isal package speeds up (de)compression with a mostly…
The slow pure Python implementation has been removed. hashlib.scrypt(password, *, salt, n, r, p, maxmem=0, dklen=64)¶…
No collector hit or local mesh claim applied to this request after relevance gating.
See also Module hashlibThe Python module providing secure hash functions. — [hmac — Keyed-Hashing for Message…
The Python Software Foundation is a non-profit corporation. — [html — HyperText Markup Language support — Python…
Future versions of Python may not enable this finder by default. class importlib.machinery. — [importlib — The…
For Python implementations without such types, this method will always return False…
The Python Software Foundation is a non-profit corporation. — [io — Core tools for working with streams — Python…
IPv6Address('::1')) '::1' int(ipaddress. — [ipaddress — IPv4/IPv6 manipulation library — Python 3.13.18 documentation…
Substantially all of these recipes and many, many others can be installed from the more-itertools project found on the…
Supports the following objects and types by default: Python JSON dict object list, tuple array str string int, float…
The Python Software Foundation is a non-profit corporation. — [linecache — Random access to text lines — Python 3.13.18…
Changed in version 3.7: The function now always returns "utf-8" on Android or if the Python UTF-8 Mode is enabled…
Original Python logging packageThis is the original source for the logging package. — [logging — Logging facility for…
This is the default for FORMAT_XZ. lzma. — [lzma — Compression using the LZMA algorithm — Python 3.13.18 documentation…
If no valid value is read (e.g. because the data has a different Python version’s incompatible marshal format), raise…
For this reason, function fmod() is generally preferred when working with floats, while Python’s x % y is preferred…
The Python Software Foundation is a non-profit corporation. — [mimetypes — Map filenames to MIME types — Python 3.13.18…
This example shows a simple way of using mmap: import mmap # write a simple example file with open("hello.txt", "wb")…
See bpo-33725. multiprocessing.set_executable(executable)¶ Set the path of the Python interpreter to use when starting…
The Python Software Foundation is a non-profit corporation. — [netrc — netrc file processing — Python 3.13.18…
For example, (1+3j).conjugate() == (1-3j). class numbers. — [numbers — Numeric abstract base classes — Python 3.13.18…
Equivalent to: def methodcaller(name, /, *args, **kwargs): def caller(obj): return getattr(obj, name)(*args, **kwargs)…
As of Python 3.3, this is equivalent to os.stat(fd). — [os — Miscellaneous operating system interfaces — Python 3.13.18…
Python’s str and bytes types, and portions of the os and os.path modules, are written in C and are very speedy. pathlib…
The exclamation point can be omitted unless the first word of the statement resembles a debugger command, e.g.: (Pdb) !…
If fix_imports is true, pickle will try to map the old Python 2 names to the new names used in Python 3. — [pickle —…
The Python Software Foundation is a non-profit corporation. — [pkgutil — Package extension utility — Python 3.13.18…
Note that unlike the Python sys.version, the returned value will always include the patchlevel (it defaults to '0')…
If a long object cannot be split, the specified width will be exceeded: pprint.pp(project_info, depth=1, width=60)…
Table of Contents The Python Profilers Introduction to the profilers Instant User’s Manual profile and cProfile Module…
Raises an auditing event pty.spawn with argument argv. — [pty — Pseudo-terminal utilities — Python 3.13.18…
The Python Software Foundation is a non-profit corporation. — [pwd — The password database — Python 3.13.18…
SimpleQueue¶ Constructor for an unbounded FIFO queue. — [queue — A synchronized queue class — Python 3.13.18…
Most of the random module’s algorithms and seeding functions are subject to change across Python versions, but two…
The table below offers some more-or-less equivalent mappings between scanf() format tokens and regular expressions…
Changing the attributes of this object will affect the size limits used by repr() and the Python debugger…
May not be available on all systems. resource. — [resource — Resource usage information — Python 3.13.18 documentation…
The Python Software Foundation is a non-profit corporation. — [runpy — Locating and executing Python modules — Python…
The Python Software Foundation is a non-profit corporation. — [sched — Event scheduler — Python 3.13.18 documentation…
The Python Software Foundation is a non-profit corporation. — [secrets — Generate secure random numbers for managing…
However, when supplied, its value must be 0 or select. — [select — Waiting for I/O completion — Python 3.13.18…
EVENT_READ¶ Available for read selectors. — [selectors — High-level I/O multiplexing — Python 3.13.18 documentation…
Module pickleObject serialization used by shelve. — [shelve — Python object persistence — Python 3.13.18 documentation…
Warning The shlex module is only designed for Unix shells. — [shlex — Simple lexical analysis — Python 3.13.18…
EXE' This is also applied when cmd is a path that contains a directory component…
The Python signal handlers will be called when the calculation finishes. — [signal — Set handlers for asynchronous…
Y\[t\]/site-packages for UNIX and non-framework macOS builds, ~/Library/Python/X. — [site — Site-specific configuration…
However, the system network stack may also return a connection timeout error of its own regardless of any Python socket…
StreamRequestHandler¶ class socketserver. — [socketserver — A framework for network servers — Python 3.13.18…
They will become keyword-only parameters in Python 3.15. sqlite3.complete_statement(statement)¶ Return True if the…
Starting from Python 3.2.3, the ssl module disables certain weak ciphers by default, but you may want to further…
S_IRUSR¶ Owner has read permission. stat. — [stat — Interpreting stat() results — Python 3.13.18 documentation…
Raises StatisticsError if data is empty. — [statistics — Mathematical statistics functions — Python 3.13.18…
This value is not locale-dependent and will not change. string.digits¶ The string '0123456789'. string.hexdigits¶ The…
Applications¶ Two main applications for the struct module exist, data interchange between Python and C code within an…
Older high-level API¶ Prior to Python 3.5, these three functions comprised the high level API to subprocess. —…
Y/site-packages/ (always use lib, not sys.platlibdir): Third-party modules /usr/lib64/pythonX. — [sys — System-specific…
By default, archives are fully trusted, but this default is deprecated and slated to change in Python 3.14…
Changed in version 3.8: Added errors parameter. tempfile. — [tempfile — Generate temporary files and directories —…
Requires at least one of the pairs (termios. — [termios — POSIX style tty control — Python 3.13.18 documentation…
1475 tools in 453 families: one tool heads each family, and the ways to do the same job on other input, ignoring case or in another order are its variants.
Turns JSON into key: value lines, removes the line numbers, then counts the characters.
Turns JSON into key: value lines, removes the line numbers, then keeps the first.
Turns JSON into key: value lines, removes the line numbers, then keeps the last.
Turns JSON into key: value lines, removes the line numbers, then counts the lines.
Turns JSON into key: value lines, removes the line numbers, then makes every letter lowercase.
Turns JSON into key: value lines, removes the line numbers, then numbers them.
Turns JSON into key: value lines, removes the line numbers, then reverses their order.
Turns JSON into key: value lines, removes the line numbers, then counts the different words.
Makes every letter lowercase, lists each word once in A→Z order, then keeps the first.
Makes every letter uppercase, lists each word once in A→Z order, then keeps the first.
Tidies the spacing to one space between words and none at the ends, lists each word once in A→Z order, then keeps the first.
Turns tabs into spaces, lists each word once in A→Z order, then keeps the first.
Tidies the spacing to one space between words and none at the ends, makes every letter uppercase, lists each word once in A→Z order, then keeps the first.
Turns tabs into spaces, tidies the spacing, lists each word once in A→Z order, then keeps the first.
Minifies the JSON onto one line, lists its keys in A→Z order, then keeps the last.
Minifies the JSON onto one line, pretty-prints it, then counts the characters.
Sorts the lines A→Z, reverses their order, then numbers them.
Numbers the lines 1, 2, 3…, reverses their order, then sorts them A→Z.
Numbers the lines 1, 2, 3…, sorts them A→Z, then reverses their order.
Reverses the order of the lines, sorts them A→Z, then numbers them.
Sorts the lines A→Z, numbers them, then reverses their order.
Sorts the lines A→Z ignoring case, numbers them, then reverses their order.
Sorts the lines A→Z ignoring case, reverses their order, then numbers them.
Numbers the lines 1, 2, 3…, sorts them A→Z ignoring case, then reverses their order.
Numbers the lines 1, 2, 3…, reverses their order, then sorts them A→Z ignoring case.
Reverses the order of the lines, sorts them A→Z ignoring case, then numbers them.
Trims the spaces around each line, reverses their order, sorts them A→Z, then numbers them.
Trims the spaces around each line, sorts them A→Z, reverses their order, then numbers them.
Trims the spaces around each line, sorts them A→Z ignoring case, reverses their order, then numbers them.
Trims the spaces around each line, reverses their order, sorts them A→Z ignoring case, then numbers them.
Numbers the lines 1, 2, 3…, reverses their order, then counts the characters.
Reverses the order of the lines, numbers them, then counts the characters.
Numbers the lines 1, 2, 3…, reverses their order, then keeps the first.
Reverses the order of the lines, numbers them, then keeps the first.
Numbers the lines 1, 2, 3…, reverses their order, then keeps the last.
Reverses the order of the lines, numbers them, then keeps the last.
Numbers the lines 1, 2, 3…, reverses their order, then sorts them A→Z and keeps each once.
Numbers the lines 1, 2, 3…, sorts them A→Z and keeps each once, then reverses their order.
Reverses the order of the lines, sorts them A→Z and keeps each once, then numbers them.
Removes duplicate lines and keeps the first of each, reverses their order, sorts them A→Z, then numbers them.
Removes duplicate lines and keeps the first of each, sorts them A→Z, reverses their order, then numbers them.
Removes duplicate lines and keeps the first of each, sorts them A→Z ignoring case, reverses their order, then numbers them.
Removes duplicate lines and keeps the first of each, reverses their order, sorts them A→Z ignoring case, then numbers them.
Removes duplicate lines and keeps the first of each, reverses their order, sorts them A→Z and keeps each once, then numbers them.
Trims the spaces around each line, reverses their order, sorts them A→Z and keeps each once, then numbers them.
Trims the spaces around each line, sorts them A→Z and keeps each once, reverses their order, then numbers them.
Numbers the lines 1, 2, 3…, reverses their order, then counts the different words.
Reverses the order of the lines, numbers them, then counts the different words.
Numbers the lines 1, 2, 3…, reverses their order, then counts the words.
Reverses the order of the lines, numbers them, then counts the words.
Numbers the lines 1, 2, 3…, sorts them A→Z, then counts the characters.
Sorts the lines A→Z, numbers them, then counts the characters.
Sorts the lines A→Z ignoring case, numbers them, then counts the characters.
Numbers the lines 1, 2, 3…, sorts them A→Z ignoring case, then counts the characters.
Numbers the lines 1, 2, 3…, sorts them A→Z, then keeps the first.
Sorts the lines A→Z, numbers them, then keeps the first.
Sorts the lines A→Z ignoring case, numbers them, then keeps the first.
Numbers the lines 1, 2, 3…, sorts them A→Z ignoring case, then keeps the first.
Numbers the lines 1, 2, 3…, sorts them A→Z, then keeps the last.
Sorts the lines A→Z, numbers them, then keeps the last.
Sorts the lines A→Z ignoring case, numbers them, then keeps the last.
Numbers the lines 1, 2, 3…, sorts them A→Z ignoring case, then keeps the last.
Numbers the lines 1, 2, 3…, sorts them A→Z and keeps each once, then counts the characters.
Numbers the lines 1, 2, 3…, sorts them A→Z and keeps each once, then keeps the first.
Numbers the lines 1, 2, 3…, sorts them A→Z and keeps each once, then keeps the last.
Numbers the lines 1, 2, 3…, sorts them A→Z and keeps each once, then counts the different words.
Numbers the lines 1, 2, 3…, sorts them A→Z and keeps each once, then counts the words.
Numbers the lines 1, 2, 3…, sorts them A→Z, then counts the words.
Sorts the lines A→Z, numbers them, then counts the words.
Sorts the lines A→Z ignoring case, numbers them, then counts the words.
Numbers the lines 1, 2, 3…, sorts them A→Z ignoring case, then counts the words.
Numbers the lines 1, 2, 3…, removes the line numbers, then counts the characters.
Numbers the lines 1, 2, 3…, removes the line numbers, then reverses their order.
Reverses the order of the lines, removes the line numbers, then numbers them.
Removes the numbers at the start of each line, reverses their order, then numbers them.
Numbers the lines 1, 2, 3…, removes the line numbers, then sorts them A→Z.
Sorts the lines A→Z, removes the line numbers, then numbers them.
Removes the numbers at the start of each line, sorts them A→Z, then numbers them.
Sorts the lines A→Z ignoring case, removes the line numbers, then numbers them.
Numbers the lines 1, 2, 3…, removes the line numbers, then sorts them A→Z ignoring case.
Removes the numbers at the start of each line, sorts them A→Z ignoring case, then numbers them.
Turns tabs into spaces, tidies the spacing, then makes every letter lowercase.
Turns tabs into spaces, tidies the spacing, then makes every letter uppercase.
Pretty-prints the JSON, lists its keys in A→Z order, then keeps the last.
Pretty-prints the JSON, turns it into key: value lines, then numbers them.
Reverses the order of the lines, sorts them A→Z, then keeps the first.
Sorts the lines A→Z, reverses their order, then keeps the first.
Sorts the lines A→Z ignoring case, reverses their order, then keeps the first.
Reverses the order of the lines, sorts them A→Z ignoring case, then keeps the first.
Trims the spaces around each line, reverses their order, sorts them A→Z, then keeps the first.
Trims the spaces around each line, sorts them A→Z, reverses their order, then keeps the first.
Trims the spaces around each line, sorts them A→Z ignoring case, reverses their order, then keeps the first.
Trims the spaces around each line, reverses their order, sorts them A→Z ignoring case, then keeps the first.
Reverses the order of the lines, sorts them A→Z, then keeps the last.
Sorts the lines A→Z, reverses their order, then keeps the last.
Sorts the lines A→Z ignoring case, reverses their order, then keeps the last.
Reverses the order of the lines, sorts them A→Z ignoring case, then keeps the last.
Trims the spaces around each line, reverses their order, sorts them A→Z, then keeps the last.
Trims the spaces around each line, sorts them A→Z, reverses their order, then keeps the last.
Trims the spaces around each line, sorts them A→Z ignoring case, reverses their order, then keeps the last.
Trims the spaces around each line, reverses their order, sorts them A→Z ignoring case, then keeps the last.
Reverses the order of the lines, sorts them A→Z and keeps each once, then keeps the first.
Removes duplicate lines and keeps the first of each, reverses their order, sorts them A→Z, then keeps the first.
Removes duplicate lines and keeps the first of each, sorts them A→Z ignoring case, reverses their order, then keeps the first.
Removes duplicate lines and keeps the first of each, reverses their order, sorts them A→Z ignoring case, then keeps the first.
Removes duplicate lines and keeps the first of each, reverses their order, sorts them A→Z and keeps each once, then keeps the first.
Trims the spaces around each line, reverses their order, sorts them A→Z and keeps each once, then keeps the first.
Reverses the order of the lines, sorts them A→Z and keeps each once, then keeps the last.
Removes duplicate lines and keeps the first of each, reverses their order, sorts them A→Z, then keeps the last.
Removes duplicate lines and keeps the first of each, sorts them A→Z ignoring case, reverses their order, then keeps the last.
Removes duplicate lines and keeps the first of each, reverses their order, sorts them A→Z ignoring case, then keeps the last.
Removes duplicate lines and keeps the first of each, reverses their order, sorts them A→Z and keeps each once, then keeps the last.
Trims the spaces around each line, reverses their order, sorts them A→Z and keeps each once, then keeps the last.
Reverses the order of the lines, sorts them A→Z and keeps each once, then counts the lines.
Sorts the lines A→Z and keeps each once, reverses their order, then counts the lines.
Reverses the order of the lines, trims each line, then counts the lines.
Trims the spaces around each line, reverses their order, then counts the lines.
Splits a CSV row into one field per line, reverses their order, then counts the lines.
Reverses the order of the lines, removes the line numbers, then counts the characters.
Reverses the order of the lines, removes the line numbers, then joins them into one CSV row.
Removes the numbers at the start of each line, reverses their order, then joins them into one CSV row.
Reverses the order of the lines, removes the line numbers, then makes every letter lowercase.
Reverses the order of the lines, removes the line numbers, then makes every letter uppercase.
Reverses the order of the lines, removes the line numbers, then reverses their order.
Trims the spaces around each line, removes the line numbers, then reverses their order.
Splits a CSV row into one field per line, removes the line numbers, then reverses their order.
Reverses the order of the lines, removes the line numbers, then keeps the first.
Removes the numbers at the start of each line, reverses their order, then keeps the first.
Reverses the order of the lines, removes the line numbers, then keeps the last.
Removes the numbers at the start of each line, reverses their order, then keeps the last.
Reverses the order of the lines, removes the line numbers, then counts the lines.
Removes the numbers at the start of each line, reverses their order, then counts the lines.
Turns camelCase into snake_case, removes duplicates, then numbers them.
Turns camelCase into snake_case, removes duplicates, then reverses their order.
Turns camelCase into snake_case, reverses their order, then numbers them.
Turns camelCase into snake_case, sorts them A→Z, then numbers them.
Turns camelCase into snake_case, sorts them A→Z, then reverses their order.
Turns camelCase into snake_case, sorts them A→Z and keeps each once, then numbers them.
Turns camelCase into snake_case, sorts them A→Z and keeps each once, then reverses their order.
Turns camelCase into snake_case, lists each word once in A→Z order, then keeps the first.
Sorts the lines A→Z, numbers them, then counts the lines.
Sorts the lines A→Z, reverses their order, then counts the characters.
Sorts the lines A→Z ignoring case, reverses their order, then counts the characters.
Reverses the order of the lines, sorts them A→Z ignoring case, then counts the characters.
Sorts the lines A→Z, reverses their order, then counts the different words.
Sorts the lines A→Z, reverses their order, then counts the words.
Sorts the lines A→Z and keeps each once, removes the line numbers, then keeps the first.
Removes the numbers at the start of each line, sorts them A→Z and keeps each once, then keeps the first.
Trims the spaces around each line, removes the line numbers, sorts them A→Z and keeps each once, then keeps the first.
Sorts the lines A→Z and keeps each once, removes the line numbers, then keeps the last.
Removes the numbers at the start of each line, sorts them A→Z and keeps each once, then keeps the last.
Sorts the lines A→Z and keeps each once, removes the line numbers, then counts the lines.
Removes the numbers at the start of each line, sorts them A→Z and keeps each once, then counts the lines.
Small predicates every result of a tool must satisfy: that JSON is valid, that sorted lines are sorted, that a table is rectangular. A tool whose output fails its check returns nothing rather than something wrong.