cpython/Tools/scripts
Victor Stinner a90f311d05 Cleanup findnocoding.py and pysource.py scripts (with infile/infile.close) 2012-08-02 00:05:41 +02:00
..
2to3 Merged revisions 83212,83829,83833,83838-83839,83878,84019,84025,84028,84032,84036 via svnmerge from 2010-08-14 18:24:40 +00:00
README Minor cleanups 2012-07-03 00:12:27 -07:00
abitype.py #14490, #14491: add 'sundry'-style import tests for Tools/scripts. 2012-04-04 21:28:14 -04:00
analyze_dxp.py Merged revisions 69811,69947 via svnmerge from 2009-02-26 18:55:48 +00:00
byext.py Clean up syntax for some scripts. 2010-08-09 12:24:20 +00:00
byteyears.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
checkpyc.py Fix ``Tools/scripts/checkpyc.py`` after PEP 3147. 2010-08-09 12:26:44 +00:00
cleanfuture.py Fix missing or wrong shebangs and missing executable bits for scripts (#10318) 2011-07-26 18:01:08 +02:00
combinerefs.py Fix missing or wrong shebangs and missing executable bits for scripts (#10318) 2011-07-26 18:01:08 +02:00
copytime.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
crlf.py Update crlf and lfcr scripts for 3.x bytes semantics (#12032). 2011-08-12 19:40:05 +02:00
db2pickle.py Fix missing or wrong shebangs and missing executable bits for scripts (#10318) 2011-07-26 18:01:08 +02:00
diff.py Issue #7582: Use ISO timestamp in diff.py 2012-06-22 12:46:19 -04:00
dutree.doc
dutree.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
eptags.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
find-uname.py Remove some of the old demos. (Put a few somewhere else.) 2010-12-30 17:22:33 +00:00
find_recursionlimit.py #14490, #14491: add 'sundry'-style import tests for Tools/scripts. 2012-04-04 21:28:14 -04:00
finddiv.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
findlinksto.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
findnocoding.py Cleanup findnocoding.py and pysource.py scripts (with infile/infile.close) 2012-08-02 00:05:41 +02:00
fixcid.py #14490, #14491: add 'sundry'-style import tests for Tools/scripts. 2012-04-04 21:28:14 -04:00
fixdiv.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
fixheader.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
fixnotice.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
fixps.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
ftpmirror.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
get-remote-certificate.py Fix missing or wrong shebangs and missing executable bits for scripts (#10318) 2011-07-26 18:01:08 +02:00
google.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
gprof2html.py #14508: make gprof2html script runnable under python3 2012-04-11 15:16:38 -04:00
h2py.py Merged revisions 85728,85731,85735,85766-85771,85773,85777 via svnmerge from 2010-11-26 08:52:36 +00:00
highlight.py Simplify the LaTeX section (only three escapes are needed for alltt) 2012-07-23 00:24:24 -05:00
idle3 install idle and pydoc with a 3 suffix #5756 2009-04-25 21:11:45 +00:00
ifdef.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
import_diagnostics.py Better control when dumping import state 2012-04-29 17:58:24 +10:00
lfcr.py Update crlf and lfcr scripts for 3.x bytes semantics (#12032). 2011-08-12 19:40:05 +02:00
linktree.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
lll.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
mailerdaemon.py Fix missing or wrong shebangs and missing executable bits for scripts (#10318) 2011-07-26 18:01:08 +02:00
make_ctype.py Fix missing or wrong shebangs and missing executable bits for scripts (#10318) 2011-07-26 18:01:08 +02:00
md5sum.py #14490, #14491: add 'sundry'-style import tests for Tools/scripts. 2012-04-04 21:28:14 -04:00
mkreal.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
ndiff.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
nm2def.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
objgraph.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
parseentities.py #14490, #14491: add 'sundry'-style import tests for Tools/scripts. 2012-04-04 21:28:14 -04:00
patchcheck.py merge 3.2 2012-03-14 23:17:31 +01:00
pathfix.py Fix Issue10140 - Tools/scripts/pathfix.py: add option to preserve timestamps 2010-10-19 04:39:35 +00:00
pdeps.py #14492: fix some bugs in Tools/scripts/pdeps.py. 2012-04-05 22:59:13 -04:00
pickle2db.py Fix missing or wrong shebangs and missing executable bits for scripts (#10318) 2011-07-26 18:01:08 +02:00
pindent.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
ptags.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
pydoc3 install idle and pydoc with a 3 suffix #5756 2009-04-25 21:11:45 +00:00
pydocgui.pyw [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
pysource.py Cleanup findnocoding.py and pysource.py scripts (with infile/infile.close) 2012-08-02 00:05:41 +02:00
pyvenv Implemented PEP 405 (Python virtual environments). 2012-05-26 03:45:29 +01:00
reindent-rst.py Fix missing or wrong shebangs and missing executable bits for scripts (#10318) 2011-07-26 18:01:08 +02:00
reindent.py Corrected attribute docstring per pep-257 (reference #10639) 2011-08-02 08:19:31 -04:00
rgrep.py Clean up syntax for some scripts. 2010-08-09 12:24:20 +00:00
run_tests.py Move private function _args_from_interpreter_flags() to subprocess.py, so 2012-05-18 18:33:07 +02:00
serve.py Issue #8867: Fix `Tools/scripts/serve.py` to work with files containing 2010-08-03 17:09:36 +00:00
suff.py Clean up syntax for some scripts. 2010-08-09 12:24:20 +00:00
svneol.py Fix missing or wrong shebangs and missing executable bits for scripts (#10318) 2011-07-26 18:01:08 +02:00
texi2html.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
treesync.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
untabify.py Issue #9598: untabify.py will now respect encoding cookie in the files it processes 2010-11-30 17:30:43 +00:00
which.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
win_add2path.py Merged revisions 83561,83563,83565-83566,83569,83571,83574-83575,83580,83584,83599,83612,83659,83977,84015-84018,84020,84141 via svnmerge from 2010-10-06 08:35:38 +00:00

README

This directory contains a collection of executable Python scripts that are
useful while building, extending or managing Python.  Some (e.g., dutree or lll)
are also generally useful UNIX tools.

2to3                    Main script for running the 2to3 conversion tool
analyze_dxp.py          Analyzes the result of sys.getdxp()
byext.py                Print lines/words/chars stats of files by extension
byteyears.py            Print product of a file's size and age
checkpyc.py             Check presence and validity of ".pyc" files
cleanfuture.py          Fix redundant Python __future__ statements
combinerefs.py          A helper for analyzing PYTHONDUMPREFS output
copytime.py             Copy one file's atime and mtime to another
crlf.py                 Change CRLF line endings to LF (Windows to Unix)
db2pickle.py            Dump a database file to a pickle
diff.py                 Print file diffs in context, unified, or ndiff formats
dutree.py               Format du(1) output as a tree sorted by size
eptags.py               Create Emacs TAGS file for Python modules
find_recursionlimit.py  Find the maximum recursion limit on this machine
finddiv.py              A grep-like tool that looks for division operators
findlinksto.py          Recursively find symbolic links to a given path prefix
findnocoding.py         Find source files which need an encoding declaration
fixcid.py               Massive identifier substitution on C source files
fixdiv.py               Tool to fix division operators.
fixheader.py            Add some cpp magic to a C include file
fixnotice.py            Fix the copyright notice in source files
fixps.py                Fix Python scripts' first line (if #!)
ftpmirror.py            FTP mirror script
google.py               Open a webbrowser with Google
gprof2html.py           Transform gprof(1) output into useful HTML
h2py.py                 Translate #define's into Python assignments
highlight.py            Python syntax highlighting with HTML output
idle3                   Main program to start IDLE
ifdef.py                Remove #if(n)def groups from C sources
lfcr.py                 Change LF line endings to CRLF (Unix to Windows)
linktree.py             Make a copy of a tree with links to original files
lll.py                  Find and list symbolic links in current directory
mailerdaemon.py         Parse error messages from mailer daemons (Sjoerd&Jack)
make_ctype.py           Generate ctype.h replacement in stringobject.c
md5sum.py               Print MD5 checksums of argument files
mkreal.py               Turn a symbolic link into a real file or directory
ndiff.py                Intelligent diff between text files (Tim Peters)
nm2def.py               Create a template for PC/python_nt.def (Marc Lemburg)
objgraph.py             Print object graph from nm output on a library
parseentities.py        Utility for parsing HTML entity definitions
patchcheck.py           Perform common checks and cleanup before committing
pathfix.py              Change #!/usr/local/bin/python into something else
pdeps.py                Print dependencies between Python modules
pickle2db.py            Load a pickle generated by db2pickle.py to a database
pindent.py              Indent Python code, giving block-closing comments
ptags.py                Create vi tags file for Python modules
pydoc3                  Python documentation browser
pysource.py             Find Python source files
redemo.py               Basic regular expression demonstration facility
reindent.py             Change .py files to use 4-space indents
reindent-rst.py         Fix-up reStructuredText file whitespace
rgrep.py                Reverse grep through a file (useful for big logfiles)
run_tests.py            Run the test suite with more sensible default options
serve.py                Small wsgiref-based web server, used in make serve in Doc
suff.py                 Sort a list of files by suffix
svneol.py               Set svn:eol-style on all files in directory
texi2html.py            Convert GNU texinfo files into HTML
treesync.py             Synchronize source trees (very idiosyncratic)
untabify.py             Replace tabs with spaces in argument files
win_add2path.py         Add Python to the search path on Windows
which.py                Find a program in $PATH