pythonic way of making a config module

2006-01-18 Thread andrew . fabbro
I'm working on an app that will be deployed on several different servers. In each case, I'll want to change some config info (database name, paths, etc.) In perl, I would have done something like this: Package Config; $dbname = "somename"; etc. And then use'd the module and referenced

AES crypto in pure Python?

2005-02-13 Thread andrew . fabbro
I'm looking for an implementation of AES (the Advanced Encryption Standard) in pure Python. I'm aware of pycrypto, but that uses C code. I'm hoping to find something that only uses Python...I'm willing to trade speed for portability, since my application is designed for several different platform