Source

cpython-withatomic / Demo / scripts /

Filename Size Date modified Message
..
1.2 KB
464 B
6.2 KB
1.1 KB
1.2 KB
895 B
2.8 KB
512 B
3.5 KB
3.1 KB
4.0 KB
2.4 KB
11.3 KB
889 B
3.6 KB
607 B
2.2 KB
984 B
3.1 KB
2.8 KB
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
lpwatch.py              Watch BSD line printer queues
makedir.py              Like mkdir -p
markov.py               Markov chain simulation of words or characters
mboxconvert.py          Convert MH or MMDF mailboxes to unix mailbox format
morse.py                Produce morse code (as an AIFF file)
newslist.py             List all newsgroups on a NNTP server as HTML pages
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