On Mon, Oct 31, 2011 at 4:38 AM, Steven D'Aprano wrote:
> neubyr wrote:
>>
>> 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
neubyr wrote:
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
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 whe