[Tutor] How does this work?

Tony Cappellini cappy2112 at gmail.com
Wed Feb 7 16:44:19 CET 2007


>
> PS To import a file whose name is in a variable (string), see __import__().

I've started doing the import instead of exec/eval , but the person
who wrote the module being called, started using the logging module.
Now I can't capture the output of the module I'm calling, and display
it in a GUI. I was using popen() previously and that worked fine,
until he started using logging


More information about the Tutor mailing list