cpython / Demo / scripts /

The branch 'legacy-trunk' does not exist.
Filename Size Date modified Message
1.0 KB
449 B
6.2 KB
1.1 KB
1.2 KB
874 B
4.5 KB
3.1 KB
510 B
3.7 KB
3.1 KB
1.8 KB
4.2 KB
2.4 KB
11.1 KB
924 B
3.9 KB
565 B
2.2 KB
783 B
3.2 KB
2.7 KB
91 B
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.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.