cpython/Tools/scripts
Zackery Spytz 7c2c01f02a [2.7] bpo-14546: Fix the argument handling in Tools/scripts/lll.py (GH-13026) (GH-13063)
(cherry picked from commit c4e78b116f)
2019-05-02 15:29:21 -04:00
..
2to3 Merged revisions 83833,83838-83839,83859,83878 via svnmerge from 2010-08-09 20:02:00 +00:00
README Add some notes about Tools/scripts/serve.py. 2010-02-24 17:06:31 +00:00
analyze_dxp.py Fix missing or shebangs and executable bits for scripts (#10318) 2011-07-29 12:06:13 +02:00
byext.py Avoid SyntaxError in script using print function 2012-07-02 17:45:10 -04:00
byteyears.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
checkappend.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
checkpip.py Implement PEP 477 - Backport ensurepip (PEP 453) to 2.7 2014-11-11 10:24:11 -05:00
checkpyc.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
classfix.py Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
cleanfuture.py Fix missing or shebangs and executable bits for scripts (#10318) 2011-07-29 12:06:13 +02:00
combinerefs.py Fix missing or shebangs and executable bits for scripts (#10318) 2011-07-29 12:06:13 +02:00
copytime.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
crlf.py Whitespace normalization. 2004-08-09 18:54:11 +00:00
cvsfiles.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
db2pickle.py Fix missing or shebangs and executable bits for scripts (#10318) 2011-07-29 12:06:13 +02:00
diff.py bpo-34500: Fix ResourceWarning in difflib.py (GH-8926) 2018-09-02 21:48:08 -04:00
dutree.doc Initial revision 1992-03-02 16:20:32 +00:00
dutree.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
eptags.py Fix use of 'file' as a variable name. 2003-05-13 18:14:25 +00:00
find_recursionlimit.py Fix missing or shebangs and executable bits for scripts (#10318) 2011-07-29 12:06:13 +02:00
finddiv.py Fix use of 'file' as a variable name. 2003-05-13 18:14:25 +00:00
findlinksto.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
findnocoding.py Issue #26581: Use the first coding cookie on a line, not the last one. 2016-03-20 23:36:29 +02:00
fixcid.py Issue #28515: Fixed py3k warnings. 2016-10-25 09:51:38 +03:00
fixdiv.py Issue #25505: Remove unused buggy method. 2015-10-30 19:25:28 -04:00
fixheader.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
fixnotice.py #18803: fix more typos. Patch by Févry Thibault. 2013-08-26 01:31:30 +03:00
fixps.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
google.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
gprof2html.py Issue #17801: fix shebang line of gprof2html.py 2013-04-20 14:07:05 -07:00
h2py.py Issue #23330: h2py now supports arbitrary filenames in #include. 2015-05-03 15:35:02 +03:00
hotshotmain.py Fix missing or shebangs and executable bits for scripts (#10318) 2011-07-29 12:06:13 +02:00
idle set svn:executable on a script 2008-08-17 20:33:45 +00:00
ifdef.py #18803: fix more typos. Patch by Févry Thibault. 2013-08-26 01:31:30 +03:00
lfcr.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
linktree.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
lll.py [2.7] bpo-14546: Fix the argument handling in Tools/scripts/lll.py (GH-13026) (GH-13063) 2019-05-02 15:29:21 -04:00
logmerge.py Patch #2167 from calvin: Remove unused imports 2008-02-23 17:40:11 +00:00
mailerdaemon.py Fix missing or shebangs and executable bits for scripts (#10318) 2011-07-29 12:06:13 +02:00
md5sum.py Fix missing or shebangs and executable bits for scripts (#10318) 2011-07-29 12:06:13 +02:00
methfix.py Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
mkreal.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
ndiff.py Read the text files to be compared in universal-newline mode. 2004-10-03 19:03:19 +00:00
nm2def.py Patch #2167 from calvin: Remove unused imports 2008-02-23 17:40:11 +00:00
objgraph.py Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
parseentities.py normalize shebang lines to #!/usr/bin/env python 2010-03-11 22:33:25 +00:00
patchcheck.py [2.7] remove hg support from patchcheck (GH-7440). (GH-7444) 2018-06-05 22:55:10 -07:00
pathfix.py #18803: fix more typos. Patch by Févry Thibault. 2013-08-26 01:31:30 +03:00
pdeps.py Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
pickle2db.py Fix missing or shebangs and executable bits for scripts (#10318) 2011-07-29 12:06:13 +02:00
pindent.py Issue #15539: Fix backup file creation in pindent.py on Windows 2013-01-11 22:16:15 +02:00
ptags.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
pydoc [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
pydocgui.pyw [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
pysource.py Fix missing or shebangs and executable bits for scripts (#10318) 2011-07-29 12:06:13 +02:00
redemo.py Issue #27626: Spelling fixes in docs, comments and internal names 2016-07-28 01:11:04 +00:00
reindent-rst.py Merged revisions 85766-85767 via svnmerge from 2010-11-26 08:04:57 +00:00
reindent.py bpo-30109: Fix reindent.py for non-ASCII files. (#5637) 2018-02-12 20:16:42 +02:00
rgrep.py Apply diff2.txt from SF patch http://www.python.org/sf/572113 2002-09-11 20:36:02 +00:00
serve.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
setup.py Install pygettext (once the scriptsinstall target is working again). 2007-08-29 01:24:11 +00:00
suff.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
svneol.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 18:59:17 +02:00
texcheck.py Add two missing markup tags. 2006-01-23 21:31:00 +00:00
texi2html.py [2.7] bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) (GH-10335) (GH-10336) 2018-11-05 18:16:26 +02:00
treesync.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
untabify.py Merged revisions 85766-85767 via svnmerge from 2010-11-26 08:04:57 +00:00
which.py Whitespace normalization. 2004-08-09 18:54:11 +00:00
win_add2path.py Added win_add2path.py to Tools/scripts/ 2008-01-18 11:58:50 +00:00
xxci.py Patch #2167 from calvin: Remove unused imports 2008-02-23 17:40:11 +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.

See also the Demo/scripts directory!

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
checkappend.py		Search for multi-argument .append() calls
checkpyc.py		Check presence and validity of ".pyc" files
classfix.py		Convert old class syntax to new
cleanfuture.py		Fix reduntant 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)
cvsfiles.py		Print a list of files that are under CVS
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
hotshotmain.py		Main program to run script under control of hotshot
idle			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
logmerge.py		Consolidate CVS/RCS logs read from stdin
mailerdaemon.py		parse error messages from mailer daemons (Sjoerd&Jack)
md5sum.py		Print MD5 checksums of argument files.
methfix.py		Fix old method syntax def f(self, (a1, ..., aN)):
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
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
pydoc			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.
rgrep.py		Reverse grep through a file (useful for big logfiles)
serve.py		Small wsgiref-based web server, used in make serve in Doc
setup.py		Install all scripts listed here
suff.py			Sort a list of files by suffix
svneol.py		Sets svn:eol-style on all files in directory
texcheck.py             Validate Python LaTeX formatting (Raymond Hettinger)
texi2html.py		Convert GNU texinfo files into HTML
treesync.py		Synchronize source trees (very ideosyncratic)
untabify.py		Replace tabs with spaces in argument files
which.py		Find a program in $PATH
xxci.py			Wrapper for rcsdiff and ci