cpython/Demo/scripts/README

50 lines
2.3 KiB
Plaintext
Raw Normal View History

1992-03-02 12:15:12 -04:00
This directory contains a collection of executable Python scripts.
Some perform Python housekeeping jobs (e.g., converting old syntax or
generating tags files), others are useful UNIX tools, are some are
just cute demos (e.g., pi.py).
A number of these of these deserve a link in your bin directory. All
deserve study if you want to learn Python programming.
Table of contents:
1991-06-04 17:36:54 -03:00
byteyears.py Print product of a file's size and age
1991-12-24 09:55:16 -04:00
checkpyc.py Check presence and validity of ".pyc" files
1991-12-26 08:59:17 -04:00
classfix.py Convert old class syntax to new
1991-12-24 09:55:16 -04:00
copytime.py Copy one file's atime and mtime to another
1992-03-02 12:15:12 -04:00
h2py.py Translate #define's into Python assignments
dutree.py Format du(1) output as a tree sorted by size
1991-06-04 17:36:54 -03:00
eptags.py Create Emacs TAGS file for Python modules
fact.py Factorize numbers
1992-03-02 12:15:12 -04:00
findlinksto.py Recursively find symbolic links to a given path prefix
1993-06-14 05:47:54 -03:00
fixps.py Fix Python scripts' first line (if #!)
fixcid.py Massive identifier substitution on C source files
1994-01-07 07:38:28 -04:00
fixheader.py Add some cpp magic to a C include file
1991-06-04 17:36:54 -03:00
from.py Summarize mailbox
1994-01-07 06:56:05 -04:00
ftpstats.py Summarize ftp daemon log file
1994-05-09 11:52:33 -03:00
ifdef.py Remove #if(n)def groups from C sources
1992-03-02 12:15:12 -04:00
linktree.py Make a copy of a tree with links to original files
lll.py Find and list symbolic links in current directory
1991-06-04 17:36:54 -03:00
lpwatch.py Watch BSD line printer queues
1994-01-07 06:56:05 -04:00
markov.py Markov chain simulation of words or characters
1994-09-05 08:51:33 -03:00
mboxconvvert.py Convert MH or MMDF mailboxes to unix mailbox format
1993-04-01 16:50:12 -04:00
methfix.py Fix old method syntax def f(self, (a1, ..., aN)):
morse.py Produce morse code (audible or on AIFF file)
1991-06-04 17:36:54 -03:00
mkreal.py Turn a symbolic link into a real file or directory
1994-08-19 12:09:02 -03:00
mpzpi.py test mpz -- print digits of pi (compare pi.py)
1991-06-04 17:36:54 -03:00
objgraph.py Print object graph from nm output on a library
1994-08-19 12:03:41 -03:00
pathfix.py Change #!/usr/local/bin/python into something else
1991-06-04 17:36:54 -03:00
pdeps.py Print dependencies between Python modules
1992-03-02 12:15:12 -04:00
pi.py Print all digits of pi -- given enough time and memory
1994-05-15 15:14:24 -03:00
pindent.py Indent Python code, giving block-closing comments
1992-08-10 07:43:07 -03:00
pp.py Emulate some Perl command line options
1991-06-04 17:36:54 -03:00
primes.py Print prime numbers
ptags.py Create vi tags file for Python modules
script.py Equivalent to BSD script(1) -- by Steen Lumholt
1991-06-04 17:36:54 -03:00
suff.py Sort a list of files by suffix
sum5.py Print md5 checksums of files
1994-02-07 09:44:59 -04:00
unbirthday.py Print unbirthday count
1991-06-04 17:36:54 -03:00
which.py Find a program in $PATH
xxci.py Wrapper for rcsdiff and ci