My Python Code | Links |
My Python Code
fmt.py- A horrible, terrible, vile, awesome hack to pull the caller's local
variables into a format string, rather like Perl format strings:
>>> x=2 >>> fmt("{0} {x} {y}", 1, y=3) '1 2 3'
Utility- Utility is a generic framework for command-line utility programs
written in Python.
- Version 1.2 (2009Jun26):
- Added Filter.py example utility.
- Version 1.1 (2006Mar06):
- Added minimum Python version detection, switched to UTF-8.
- Version 1.0 (2006Jan03):
- Initial release.
RandPod- A minimal Python program to pick out random music.
Umbra- Umbra is a computer role-playing game written in Python. The world is randomly-generated for new play every time, but there is an eventual goal and storyline. It was heavily influenced by roguelike games, Alternate Reality, console RPGs, and the works of H.P. Lovecraft and Clark Ashton Smith.
ChangeExt- A Python tool to change file extensions in all subdirs. Generally useful as an example of using os.walk instead of the shell's find.
Links
Python.org
Python documentation
How to Think Like a Computer Scientist: Learning with Python
Python Eggs (links to everywhere and everything)