Thread: Import a Module
View Single Post
Old Dec 28th, 2006, 12:25 PM   #1
Dietrich
Professional Programmer
 
Dietrich's Avatar
 
Join Date: Feb 2005
Posts: 434
Rep Power: 4 Dietrich is on a distinguished road
Import a Module

I usually import all the needed modules in the beginning of my program. I keep seeing code that imports modules within a function, wouldn't that be bad? I assume that the module will be imported every time the function is called.
__________________
I looked it up on the Intergnats!
Dietrich is offline   Reply With Quote