1This directory contains a collection of executable Python scripts that are 2useful while building, extending or managing Python. Some (e.g., dutree or lll) 3are also generally useful UNIX tools. 4 52to3 Main script for running the 2to3 conversion tool 6abitype.py Converts a C file to use the PEP 384 type definition API 7analyze_dxp.py Analyzes the result of sys.getdxp() 8byext.py Print lines/words/chars stats of files by extension 9byteyears.py Print product of a file's size and age 10checkpyc.py Check presence and validity of ".pyc" files 11cleanfuture.py Fix redundant Python __future__ statements 12combinerefs.py A helper for analyzing PYTHONDUMPREFS output 13copytime.py Copy one file's atime and mtime to another 14crlf.py Change CRLF line endings to LF (Windows to Unix) 15db2pickle.py Dump a database file to a pickle 16diff.py Print file diffs in context, unified, or ndiff formats 17dutree.py Format du(1) output as a tree sorted by size 18eptags.py Create Emacs TAGS file for Python modules 19finddiv.py A grep-like tool that looks for division operators 20findlinksto.py Recursively find symbolic links to a given path prefix 21findnocoding.py Find source files which need an encoding declaration 22find_recursionlimit.py Find the maximum recursion limit on this machine 23find-uname.py Look for the given arguments in the sets of all Unicode names 24fixcid.py Massive identifier substitution on C source files 25fixdiv.py Tool to fix division operators. 26fixheader.py Add some cpp magic to a C include file 27fixnotice.py Fix the copyright notice in source files 28fixps.py Fix Python scripts' first line (if #!) 29ftpmirror.py FTP mirror script 30get-remote-certificate.py Fetch the certificate that the server(s) are providing in PEM form 31google.py Open a webbrowser with Google 32gprof2html.py Transform gprof(1) output into useful HTML 33h2py.py Translate #define's into Python assignments 34highlight.py Python syntax highlighting with HTML output 35idle3 Main program to start IDLE 36ifdef.py Remove #if(n)def groups from C sources 37import_diagnostics.py Miscellaneous diagnostics for the import system 38lfcr.py Change LF line endings to CRLF (Unix to Windows) 39linktree.py Make a copy of a tree with links to original files 40lll.py Find and list symbolic links in current directory 41mailerdaemon.py Parse error messages from mailer daemons (Sjoerd&Jack) 42make_ctype.py Generate ctype.h replacement in stringobject.c 43md5sum.py Print MD5 checksums of argument files 44mkreal.py Turn a symbolic link into a real file or directory 45ndiff.py Intelligent diff between text files (Tim Peters) 46nm2def.py Create a template for PC/python_nt.def (Marc Lemburg) 47objgraph.py Print object graph from nm output on a library 48parseentities.py Utility for parsing HTML entity definitions 49parse_html5_entities.py Utility for parsing HTML5 entity definitions 50patchcheck.py Perform common checks and cleanup before committing 51pathfix.py Change #!/usr/local/bin/python into something else 52pdeps.py Print dependencies between Python modules 53pickle2db.py Load a pickle generated by db2pickle.py to a database 54pindent.py Indent Python code, giving block-closing comments 55ptags.py Create vi tags file for Python modules 56pydoc3 Python documentation browser 57pysource.py Find Python source files 58reindent.py Change .py files to use 4-space indents 59reindent-rst.py Fix-up reStructuredText file whitespace 60rgrep.py Reverse grep through a file (useful for big logfiles) 61run_tests.py Run the test suite with more sensible default options 62serve.py Small wsgiref-based web server, used in make serve in Doc 63suff.py Sort a list of files by suffix 64texi2html.py Convert GNU texinfo files into HTML 65untabify.py Replace tabs with spaces in argument files 66which.py Find a program in $PATH 67win_add2path.py Add Python to the search path on Windows 68