Marcus von Appen wrote:
On, Sun Apr 06, 2008, Lenard Lindstrom wrote:
By the way, the fact Pygame automatically loads all modules in its package makes debugging difficult. It is pointless to examine sys.modules to determine what aspects of Pygame a program might be using.That's why we were given printf() ;-).
With sufficient ingenuity (and probably also insanity) one could probably come up with some kind of lazy module wrapper that just loaded a stub of itself and then loaded the rest of the module the first time something was referenced from it. Not sure it would be worth the bother, though. -- Greg