Note on PEP 299

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Fri Jul 21 16:11:09 EDT 2006


Faulkner:
> http://home.comcast.net/~faulkner612/programming/python/mainer.py

It's a bit of magic, I'll test it more, but it seems to work binding
the main() with Psyco too.
I have changed it a little (removed argv passed to the main and the
import of type, etc).
I don't know if/when I'll use it, but it seems nice enough.

Bye,
thank you,
bearophile




More information about the Python-list mailing list