[Tutor] do i have to import modules at the start of a file?

shawn bright nephish at gmail.com
Wed Sep 26 23:24:23 CEST 2007


lo there all,

i have a gui program that imports a few modules that i don't need if i am
using the program remotely.
The program has an admin interface and thread interface, only the admin
interface is needed when
i am using the program from a remote computer.

all of my modules are imported at the start of the file, and not initiated
till a certain button is clicked on the GUI, could i put those
import statements in the button click event?

thanks

shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070926/849ea8d2/attachment.htm 


More information about the Tutor mailing list