Profile
Achievement
chombee's Recent Snippets
- All /
« Prev 1 Next »
Effbot's page on the os module: http://effbot.org/librarybook/os.htm
The os module has lots of methods for dealing with files and directories: http://docs.python.org/lib/os-file-dir.html
The shutil module: http://docs.python.org/lib/module-shut...
0
1196
posted 16 years ago by chombee
Test-first programming, in which you write the unit tests first with the unittest module and then work on the code until it passes all the tests, seems like a good substitute for writing interfaces or documentation first. The unit tests are like an A...
0
806
posted 16 years ago by chombee
This is my implementation of the messager pattern used by Panda3D for event
handling. It's a really nice idea but I think Panda's version is implemented
weirdly, it uses the subscribe objects as keys in the dictionary. That means
that if you want...
0
611
posted 16 years ago by chombee