mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Patch #748849: Update to current tools and demos.
This commit is contained in:
parent
9556fba685
commit
bb640c15a1
2 changed files with 19 additions and 3 deletions
|
@ -2,18 +2,23 @@ This directory contains a collection of executable Python scripts.
|
||||||
|
|
||||||
See also the Tools/scripts directory!
|
See also the Tools/scripts directory!
|
||||||
|
|
||||||
|
beer.py Print the classic 'bottles of beer' list.
|
||||||
|
eqfix.py Fix .py files to use the correct equality test operator
|
||||||
fact.py Factorize numbers
|
fact.py Factorize numbers
|
||||||
find-uname.py Search for Unicode characters using regexps.
|
find-uname.py Search for Unicode characters using regexps.
|
||||||
from.py Summarize mailbox
|
from.py Summarize mailbox
|
||||||
ftpstats.py Summarize ftp daemon log file
|
ftpstats.py Summarize ftp daemon log file
|
||||||
lpwatch.py Watch BSD line printer queues
|
lpwatch.py Watch BSD line printer queues
|
||||||
|
makedir.py Like mkdir -p
|
||||||
markov.py Markov chain simulation of words or characters
|
markov.py Markov chain simulation of words or characters
|
||||||
mboxconvvert.py Convert MH or MMDF mailboxes to unix mailbox format
|
mboxconvvert.py Convert MH or MMDF mailboxes to unix mailbox format
|
||||||
|
mkrcs.py Fix symlinks named RCS into parallel tree
|
||||||
morse.py Produce morse code (audible or on AIFF file)
|
morse.py Produce morse code (audible or on AIFF file)
|
||||||
mpzpi.py test mpz -- print digits of pi (compare pi.py)
|
mpzpi.py test mpz -- print digits of pi (compare pi.py)
|
||||||
pi.py Print all digits of pi -- given enough time and memory
|
pi.py Print all digits of pi -- given enough time and memory
|
||||||
pp.py Emulate some Perl command line options
|
pp.py Emulate some Perl command line options
|
||||||
primes.py Print prime numbers
|
primes.py Print prime numbers
|
||||||
|
queens.py Dijkstra's solution to Wirth's "N Queens problem"
|
||||||
script.py Equivalent to BSD script(1) -- by Steen Lumholt
|
script.py Equivalent to BSD script(1) -- by Steen Lumholt
|
||||||
unbirthday.py Print unbirthday count
|
unbirthday.py Print unbirthday count
|
||||||
update.py Update a bunch of files according to a script.
|
update.py Update a bunch of files according to a script.
|
||||||
|
|
|
@ -6,21 +6,28 @@ See also the Demo/scripts directory!
|
||||||
|
|
||||||
byext.py Print lines/words/chars stats of files by extension
|
byext.py Print lines/words/chars stats of files by extension
|
||||||
byteyears.py Print product of a file's size and age
|
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
|
checkpyc.py Check presence and validity of ".pyc" files
|
||||||
classfix.py Convert old class syntax to new
|
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
|
copytime.py Copy one file's atime and mtime to another
|
||||||
crlf.py Change CRLF line endings to LF (Windows to Unix)
|
crlf.py Change CRLF line endings to LF (Windows to Unix)
|
||||||
cvsfiles.py Print a list of files that are under CVS
|
cvsfiles.py Print a list of files that are under CVS
|
||||||
db2pickle.py Dump a database file to a pickle
|
db2pickle.py Dump a database file to a pickle
|
||||||
dutree.py Format du(1) output as a tree sorted by size
|
dutree.py Format du(1) output as a tree sorted by size
|
||||||
eptags.py Create Emacs TAGS file for Python modules
|
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
|
findlinksto.py Recursively find symbolic links to a given path prefix
|
||||||
fixcid.py Massive identifier substitution on C source files
|
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
|
fixheader.py Add some cpp magic to a C include file
|
||||||
fixnotice.py Fix the copyright notice in source files
|
fixnotice.py Fix the copyright notice in source files
|
||||||
fixps.py Fix Python scripts' first line (if #!)
|
fixps.py Fix Python scripts' first line (if #!)
|
||||||
ftpmirror.py FTP mirror script
|
ftpmirror.py FTP mirror script
|
||||||
gencodec.py Create Python codecs from Unicode mapping files
|
gencodec.py Create Python codecs from Unicode mapping files
|
||||||
|
google.py Open a webbrowser with Google.
|
||||||
|
gprof2html.py Transform gprof(1) output into useful HTML.
|
||||||
h2py.py Translate #define's into Python assignments
|
h2py.py Translate #define's into Python assignments
|
||||||
ifdef.py Remove #if(n)def groups from C sources
|
ifdef.py Remove #if(n)def groups from C sources
|
||||||
lfcr.py Change LF line endings to CRLF (Unix to Windows)
|
lfcr.py Change LF line endings to CRLF (Unix to Windows)
|
||||||
|
@ -28,23 +35,27 @@ linktree.py Make a copy of a tree with links to original files
|
||||||
lll.py Find and list symbolic links in current directory
|
lll.py Find and list symbolic links in current directory
|
||||||
logmerge.py Consolidate CVS/RCS logs read from stdin
|
logmerge.py Consolidate CVS/RCS logs read from stdin
|
||||||
mailerdaemon.py parse error messages from mailer daemons (Sjoerd&Jack)
|
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)):
|
methfix.py Fix old method syntax def f(self, (a1, ..., aN)):
|
||||||
mkreal.py Turn a symbolic link into a real file or directory
|
mkreal.py Turn a symbolic link into a real file or directory
|
||||||
ndiff.py Intelligent diff between text files (Tim Peters)
|
ndiff.py Intelligent diff between text files (Tim Peters)
|
||||||
nm2def.py Create a template for PC/python_nt.def (Marc Lemburg)
|
nm2def.py Create a template for PC/python_nt.def (Marc Lemburg)
|
||||||
objgraph.py Print object graph from nm output on a library
|
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
|
pathfix.py Change #!/usr/local/bin/python into something else
|
||||||
pdeps.py Print dependencies between Python modules
|
pdeps.py Print dependencies between Python modules
|
||||||
pickle2db.py Load a pickle generated by db2pickle.py to a database
|
pickle2db.py Load a pickle generated by db2pickle.py to a database
|
||||||
pindent.py Indent Python code, giving block-closing comments
|
pindent.py Indent Python code, giving block-closing comments
|
||||||
ptags.py Create vi tags file for Python modules
|
ptags.py Create vi tags file for Python modules
|
||||||
|
pydoc Python documentation browser.
|
||||||
|
redemo.py Basic regular expression demostration facility
|
||||||
|
reindent.py Change .py files to use 4-space indents.
|
||||||
rgrep.py Reverse grep through a file (useful for big logfiles)
|
rgrep.py Reverse grep through a file (useful for big logfiles)
|
||||||
|
setup.py Install all scripts listed here.
|
||||||
suff.py Sort a list of files by suffix
|
suff.py Sort a list of files by suffix
|
||||||
sum5.py Print md5 checksums of files
|
|
||||||
tabnanny.py Check for ambiguous indentation (Tim Peters)
|
|
||||||
tabpolice.py Check for ambiguous indentation (GvR)
|
|
||||||
texcheck.py Validate Python LaTeX formatting (Raymond Hettinger)
|
texcheck.py Validate Python LaTeX formatting (Raymond Hettinger)
|
||||||
texi2html.py Convert GNU texinfo files into HTML
|
texi2html.py Convert GNU texinfo files into HTML
|
||||||
|
trace.py Trace Python program or function execution
|
||||||
treesync.py Synchronize source trees (very ideosyncratic)
|
treesync.py Synchronize source trees (very ideosyncratic)
|
||||||
untabify.py Replace tabs with spaces in argument files
|
untabify.py Replace tabs with spaces in argument files
|
||||||
which.py Find a program in $PATH
|
which.py Find a program in $PATH
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue