summaryrefslogtreecommitdiffstats
path: root/Demo/scripts/README
blob: 634160b93bd9f8a6c2ec230ba2112fd470dc62e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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:

byteyears.py		Print product of a file's size and age
checkpyc.py		Check presence and validity of ".pyc" files
classfix.py		Convert old class syntax to new
copytime.py		Copy one file's atime and mtime to another
h2py.py			Translate #define's into Python assignments
dutree.py		Format du(1) output as a tree sorted by size
eptags.py		Create Emacs TAGS file for Python modules
fact.py			Factorize numbers
findlinksto.py		Recursively find symbolic links to a given path prefix
fixps.py		Fix Python scripts' first line (if #!)
fixcid.py		Massive identifier substitution on C source files
fixheader.py		Add some cpp magic to a C include file
freeze.py		Convert a Python script into a free-standing binary
from.py			Summarize mailbox
ftpstats.py		Summarize ftp daemon log file
ifdef.py		Remove #if(n)def groups from C sources
linktree.py		Make a copy of a tree with links to original files
lll.py			Find and list symbolic links in current directory
lpwatch.py		Watch BSD line printer queues
markov.py		Markov chain simulation of words or characters
methfix.py		Fix old method syntax def f(self, (a1, ..., aN)):
mkreal.py		Turn a symbolic link into a real file or directory
mpzpi.py		test mpz -- print digits of pi (compare pi.py)
objgraph.py		Print object graph from nm output on a library
pathfix.py		Change #!/usr/local/bin/python into something else
pdeps.py		Print dependencies between Python modules
pi.py			Print all digits of pi -- given enough time and memory
pindent.py		Indent Python code, giving block-closing comments
pp.py			Emulate some Perl command line options
primes.py		Print prime numbers
ptags.py		Create vi tags file for Python modules
suff.py			Sort a list of files by suffix
unbirthday.py		Print unbirthday count
which.py		Find a program in $PATH
xxci.py			Wrapper for rcsdiff and ci