[Tutor] importing modules and packages
neubyr
neubyr at gmail.com
Mon Oct 31 05:40:14 CET 2011
Is it possible to tell whether import statement is importing a module
or package? I am going through some example code with some import
statements - like 'import os, sys, time', 'import packed'. I know os,
sys and time are (built-in) modules and 'packed' is a package here .
But can I determine whether it's a package or module using any
command/method or by following some naming convention?
- thanks,
neuby.r
More information about the Tutor
mailing list