Tony Cappellini wrote: >> 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
I'm not sure what this question has to do with the previous one. You are running an external script using popen() and you want to show stdout in your gui? Can you configure the logging in the external script to include console output? Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor