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