Skip to content

Commit d3f467a

Browse files
committed
Update README, remove obsolete scripts.
1 parent f7db42f commit d3f467a

9 files changed

Lines changed: 62 additions & 993 deletions

File tree

Tools/scripts/README

Lines changed: 61 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,65 @@
1-
This directory contains a collection of executable Python scripts that
2-
are useful while building, extending or managing Python. Some (e.g.,
3-
dutree or lll) are also generally useful UNIX tools.
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.
44

55
See also the Demo/scripts directory!
66

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-
checkappend.py Search for multi-argument .append() calls
11-
checkpyc.py Check presence and validity of ".pyc" files
12-
classfix.py Convert old class syntax to new
13-
cleanfuture.py Fix reduntant Python __future__ statements
14-
combinerefs.py A helper for analyzing PYTHONDUMPREFS output.
15-
copytime.py Copy one file's atime and mtime to another
16-
crlf.py Change CRLF line endings to LF (Windows to Unix)
17-
cvsfiles.py Print a list of files that are under CVS
18-
db2pickle.py Dump a database file to a pickle
19-
diff.py Print file diffs in context, unified, or ndiff formats
20-
dutree.py Format du(1) output as a tree sorted by size
21-
eptags.py Create Emacs TAGS file for Python modules
7+
2to3 Main script for running the 2to3 conversion tool
8+
analyze_dxp.py Analyzes the result of sys.getdxp()
9+
byext.py Print lines/words/chars stats of files by extension
10+
byteyears.py Print product of a file's size and age
11+
checkpyc.py Check presence and validity of ".pyc" files
12+
cleanfuture.py Fix redundant Python __future__ statements
13+
combinerefs.py A helper for analyzing PYTHONDUMPREFS output
14+
copytime.py Copy one file's atime and mtime to another
15+
crlf.py Change CRLF line endings to LF (Windows to Unix)
16+
db2pickle.py Dump a database file to a pickle
17+
diff.py Print file diffs in context, unified, or ndiff formats
18+
dutree.py Format du(1) output as a tree sorted by size
19+
eptags.py Create Emacs TAGS file for Python modules
2220
find_recursionlimit.py Find the maximum recursion limit on this machine
23-
finddiv.py A grep-like tool that looks for division operators
24-
findlinksto.py Recursively find symbolic links to a given path prefix
25-
findnocoding.py Find source files which need an encoding declaration
26-
fixcid.py Massive identifier substitution on C source files
27-
fixdiv.py Tool to fix division operators.
28-
fixheader.py Add some cpp magic to a C include file
29-
fixnotice.py Fix the copyright notice in source files
30-
fixps.py Fix Python scripts' first line (if #!)
31-
ftpmirror.py FTP mirror script
32-
google.py Open a webbrowser with Google
33-
gprof2html.py Transform gprof(1) output into useful HTML
34-
h2py.py Translate #define's into Python assignments
35-
idle Main program to start IDLE
36-
ifdef.py Remove #if(n)def groups from C sources
37-
lfcr.py Change LF line endings to CRLF (Unix to Windows)
38-
linktree.py Make a copy of a tree with links to original files
39-
lll.py Find and list symbolic links in current directory
40-
logmerge.py Consolidate CVS/RCS logs read from stdin
41-
mailerdaemon.py parse error messages from mailer daemons (Sjoerd&Jack)
42-
md5sum.py Print MD5 checksums of argument files.
43-
methfix.py Fix old method syntax def f(self, (a1, ..., aN)):
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-
pathfix.py Change #!/usr/local/bin/python into something else
50-
pdeps.py Print dependencies between Python modules
51-
pickle2db.py Load a pickle generated by db2pickle.py to a database
52-
pindent.py Indent Python code, giving block-closing comments
53-
ptags.py Create vi tags file for Python modules
54-
pydoc Python documentation browser.
55-
pysource.py Find Python source files
56-
redemo.py Basic regular expression demonstration facility
57-
reindent.py Change .py files to use 4-space indents.
58-
rgrep.py Reverse grep through a file (useful for big logfiles)
59-
serve.py Small wsgiref-based web server, used in make serve in Doc
60-
setup.py Install all scripts listed here
61-
suff.py Sort a list of files by suffix
62-
svneol.py Sets svn:eol-style on all files in directory
63-
texcheck.py Validate Python LaTeX formatting (Raymond Hettinger)
64-
texi2html.py Convert GNU texinfo files into HTML
65-
treesync.py Synchronize source trees (very ideosyncratic)
66-
untabify.py Replace tabs with spaces in argument files
67-
which.py Find a program in $PATH
68-
xxci.py Wrapper for rcsdiff and ci
21+
finddiv.py A grep-like tool that looks for division operators
22+
findlinksto.py Recursively find symbolic links to a given path prefix
23+
findnocoding.py Find source files which need an encoding declaration
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+
google.py Open a webbrowser with Google
31+
gprof2html.py Transform gprof(1) output into useful HTML
32+
h2py.py Translate #define's into Python assignments
33+
idle3 Main program to start IDLE
34+
ifdef.py Remove #if(n)def groups from C sources
35+
lfcr.py Change LF line endings to CRLF (Unix to Windows)
36+
linktree.py Make a copy of a tree with links to original files
37+
lll.py Find and list symbolic links in current directory
38+
mailerdaemon.py Parse error messages from mailer daemons (Sjoerd&Jack)
39+
make_ctype.py Generate ctype.h replacement in stringobject.c
40+
md5sum.py Print MD5 checksums of argument files
41+
mkreal.py Turn a symbolic link into a real file or directory
42+
ndiff.py Intelligent diff between text files (Tim Peters)
43+
nm2def.py Create a template for PC/python_nt.def (Marc Lemburg)
44+
objgraph.py Print object graph from nm output on a library
45+
parseentities.py Utility for parsing HTML entity definitions
46+
patchcheck.py Perform common checks and cleanup before committing
47+
pathfix.py Change #!/usr/local/bin/python into something else
48+
pdeps.py Print dependencies between Python modules
49+
pickle2db.py Load a pickle generated by db2pickle.py to a database
50+
pindent.py Indent Python code, giving block-closing comments
51+
ptags.py Create vi tags file for Python modules
52+
pydoc3 Python documentation browser
53+
pysource.py Find Python source files
54+
redemo.py Basic regular expression demonstration facility
55+
reindent.py Change .py files to use 4-space indents
56+
reindent-rst.py Fix-up reStructuredText file whitespace
57+
rgrep.py Reverse grep through a file (useful for big logfiles)
58+
serve.py Small wsgiref-based web server, used in make serve in Doc
59+
suff.py Sort a list of files by suffix
60+
svneol.py Set svn:eol-style on all files in directory
61+
texi2html.py Convert GNU texinfo files into HTML
62+
treesync.py Synchronize source trees (very idiosyncratic)
63+
untabify.py Replace tabs with spaces in argument files
64+
win_add2path.py Add Python to the search path on Windows
65+
which.py Find a program in $PATH

Tools/scripts/byext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3.0
1+
#! /usr/bin/env python3
22

33
"""Show file statistics by extension."""
44

Tools/scripts/checkappend.py

Lines changed: 0 additions & 169 deletions
This file was deleted.

0 commit comments

Comments
 (0)