cpython/Tools/scripts
Serhiy Storchaka 8f8ec92de8 Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them.  Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.  Fixed
shebang lines in the unittestgui and checkpip scripts.
2014-01-16 17:33:23 +02:00
..
2to3
README #18445: update Tools/scripts/README. 2013-08-18 20:04:34 -04:00
abitype.py Fix some bugs in Tools/scripts/abitype.py. 2013-05-17 10:17:43 +03:00
analyze_dxp.py #18445: change permissions on some scripts to executable 2013-08-18 19:48:12 -04:00
byext.py Use OESeeror instead of os.error (#16720) 2012-12-24 19:58:48 +02:00
byteyears.py Use OESeeror instead of os.error (#16720) 2012-12-24 19:58:48 +02:00
checkpip.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
checkpyc.py Issue #17177: update checkpyc to stop using imp 2013-06-15 18:10:18 -04:00
cleanfuture.py
combinerefs.py
copytime.py Use OESeeror instead of os.error (#16720) 2012-12-24 19:58:48 +02:00
crlf.py
db2pickle.py
diff.py Issue #15204: Deprecated the 'U' mode in file-like objects. 2013-11-23 22:12:06 +02:00
dutree.doc
dutree.py
eptags.py
find-uname.py
find_recursionlimit.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:26:36 +02:00
finddiv.py Use OESeeror instead of os.error (#16720) 2012-12-24 19:58:48 +02:00
findlinksto.py Use OESeeror instead of os.error (#16720) 2012-12-24 19:58:48 +02:00
findnocoding.py Issue #18960: Fix bugs with Python source code encoding in the second line. 2014-01-09 18:36:09 +02:00
fixcid.py Use OESeeror instead of os.error (#16720) 2012-12-24 19:58:48 +02:00
fixdiv.py
fixheader.py
fixnotice.py #18803: fix more typos. Patch by Févry Thibault. 2013-08-26 01:32:56 +03:00
fixps.py
ftpmirror.py Use OESeeror instead of os.error (#16720) 2012-12-24 19:58:48 +02:00
get-remote-certificate.py
google.py
gprof2html.py Issue #17801: fix shebang line of gprof2html.py 2013-04-20 14:07:43 -07:00
h2py.py - Issue #17029: Let h2py search the multiarch system include directory. 2013-01-25 13:12:29 +01:00
highlight.py Simplify the LaTeX section (only three escapes are needed for alltt) 2012-07-23 00:24:24 -05:00
idle3
ifdef.py #18803: fix more typos. Patch by Févry Thibault. 2013-08-26 01:32:56 +03:00
import_diagnostics.py
lfcr.py
linktree.py Use OESeeror instead of os.error (#16720) 2012-12-24 19:58:48 +02:00
lll.py
mailerdaemon.py
make_ctype.py
md5sum.py
mkreal.py
ndiff.py Issue #15204: Deprecated the 'U' mode in file-like objects. 2013-11-23 22:12:06 +02:00
nm2def.py
objgraph.py
parse_html5_entities.py #18445: change permissions on some scripts to executable 2013-08-18 19:48:12 -04:00
parseentities.py
patchcheck.py Issue #18439: Make patchcheck work on Windows for ACKS, NEWS. 2013-07-21 20:57:44 -04:00
pathfix.py #18803: merge with 3.3. 2013-08-26 01:33:30 +03:00
pdeps.py
pickle2db.py
pindent.py Issue #15539: Fix a backup file creation in pindent.py on Windows. 2013-01-11 22:21:45 +02:00
ptags.py
pydoc3
pydocgui.pyw #18445: change permissions on some scripts to executable 2013-08-18 19:48:12 -04:00
pysource.py Cleanup findnocoding.py and pysource.py scripts (with infile/infile.close) 2012-08-02 00:05:41 +02:00
pyvenv
reindent-rst.py
reindent.py Issue #17516: use comment syntax for comments, instead of multiline string 2013-03-26 01:11:54 +01:00
rgrep.py
run_tests.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:15:49 +02:00
serve.py Fixed the serve.py script. 2014-01-11 11:52:20 +02:00
suff.py
svneol.py
texi2html.py compare singletons by identity not equality (closes #16712) 2012-10-09 11:16:03 -04:00
treesync.py Use OESeeror instead of os.error (#16720) 2012-12-24 19:58:48 +02:00
untabify.py Use OESeeror instead of os.error (#16720) 2012-12-24 19:58:48 +02:00
which.py Use OESeeror instead of os.error (#16720) 2012-12-24 19:58:48 +02:00
win_add2path.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02: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
abitype.py                Converts a C file to use the PEP 384 type definition API
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
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
find_recursionlimit.py    Find the maximum recursion limit on this machine
find-uname.py             Look for the given arguments in the sets of all Unicode names
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
get-remote-certificate.py Fetch the certificate that the server(s) are providing in PEM form
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
import_diagnostics.py     Miscellaneous diagnostics for the import system
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
parse_html5_entities.py   Utility for parsing HTML5 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
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
which.py                  Find a program in $PATH
win_add2path.py           Add Python to the search path on Windows