0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Demo/scripts
Guido van Rossum 3a585bb964 small fixes
1992-03-30 11:15:49 +00:00
..
eqfix.py change posix to os and path to os.path 1992-03-30 11:12:23 +00:00
fact.py small fixes 1992-03-30 11:15:49 +00:00
from.py change posix to os; and change error message 1992-03-30 11:14:20 +00:00
lpwatch.py New == syntax 1992-01-01 19:35:13 +00:00
pi.py New == syntax 1992-01-01 19:35:13 +00:00
primes.py New == syntax 1992-01-01 19:35:13 +00:00
README Better intro; added some new scripts. 1992-03-02 16:15:12 +00:00
wh.py Initial revision 1992-03-02 16:20:32 +00: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:

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
from.py			Summarize mailbox
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
mkreal.py		Turn a symbolic link into a real file or directory
objgraph.py		Print object graph from nm output on a library
pdeps.py		Print dependencies between Python modules
pi.py			Print all digits of pi -- given enough time and memory
primes.py		Print prime numbers
ptags.py		Create vi tags file for Python modules
suff.py			Sort a list of files by suffix
which.py		Find a program in $PATH
xxci.py			Wrapper for rcsdiff and ci