![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power: 4
![]() |
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! |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java CS Project | Watts | Existing Project Development | 12 | Jun 20th, 2006 3:39 PM |
| C++ OWL What am I doing wrong | Vagabond | C++ | 7 | Mar 24th, 2006 5:31 PM |
| method doesn't recognize variable | Krista | Java | 1 | Dec 5th, 2005 5:40 PM |
| converting from javax.swing.JTextField to java.lang.String | Krista | Java | 5 | Dec 5th, 2005 4:08 PM |
| cgi module index.py?var=x how do i retrieve this w/o os module | cypherkronis | Python | 1 | Jul 3rd, 2005 1:10 PM |