cpython/Demo/scripts
Guido van Rossum b940e113bf SF patch 1631942 by Collin Winter:
(a) "except E, V" -> "except E as V"
(b) V is now limited to a simple name (local variable)
(c) V is now deleted at the end of the except block
2007-01-10 16:19:56 +00:00
..
README Remove mpzpi demo 2004-08-31 13:42:11 +00:00
beer.py 100 bottles of beer on the wall example. 1998-12-21 18:30:20 +00:00
eqfix.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
fact.py Add 'if __name__ == "__main__":' to files already as a usable as a module. 2004-09-11 16:34:35 +00:00
find-uname.py Search for Unicode character names using regular expressions. 2003-01-01 20:26:47 +00:00
from.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
ftpstats.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
lpwatch.py Get rid of most of the remaining uses of <>. There's still Tools/* thogh. 2006-08-29 04:39:12 +00:00
makedir.py Add 'if __name__ == "__main__":' to files already as a usable as a module. 2004-09-11 16:34:35 +00:00
markov.py Add 'if __name__ == "__main__":' to files already as a usable as a module. 2004-09-11 16:34:35 +00:00
mboxconvert.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
mkrcs.py Add 'if __name__ == "__main__":' to files already as a usable as a module. 2004-09-11 16:34:35 +00:00
morse.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
newslist.doc Initial revision 1994-05-27 13:32:41 +00:00
newslist.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
pi.py Add 'if __name__ == "__main__":' to files already as a usable as a module. 2004-09-11 16:34:35 +00:00
pp.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
primes.py Get rid of most of the remaining uses of <>. There's still Tools/* thogh. 2006-08-29 04:39:12 +00:00
queens.py A solution to the classic N queens problem. 2000-11-16 21:25:51 +00:00
script.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
unbirthday.py Get rid of a bunch more raw_input references 2006-03-17 06:49:51 +00:00
update.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
wh.py Initial revision 1992-03-02 16:20:32 +00:00

README

This directory contains a collection of executable Python scripts.

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
find-uname.py		Search for Unicode characters using regexps.
from.py			Summarize mailbox
ftpstats.py		Summarize ftp daemon log file
lpwatch.py		Watch BSD line printer queues
makedir.py		Like mkdir -p
markov.py		Markov chain simulation of words or characters
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)
pi.py			Print all digits of pi -- given enough time and memory
pp.py			Emulate some Perl command line options
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
unbirthday.py		Print unbirthday count
update.py		Update a bunch of files according to a script.