[Tutor] about importing a module

Luke Paireepinart rabidpoobear at gmail.com
Tue Jul 24 02:55:20 CEST 2007


Tiger12506 wrote:
>>> If the module has been imported before your code is run, it will be the 
>>> library module (very important if working in IDLE which importants many 
>>> modules, for example).
>>>       
>
>   
>> So... how does IDLE go about importanting a module? ;)
>>     
>
> It's not *how* IDLE imports the module, but that fact that IDLE imports the 
> module before his script would be executed. For example:
>   
Actually I was just teasing you about saying 'IDLE, which _importants_ 
many modules' instead of 'imports.'
-Luke


More information about the Tutor mailing list