[Tutor] The case of the missing close
Gonçalo Rodrigues
op73418 at mail.telepac.pt
Wed Dec 1 19:15:59 CET 2004
Gonçalo Rodrigues wrote:
> Kent Johnson wrote:
>
>> You have to import cx_Oracle (or any other module) in every module
>> where you use it. Importing a module introduces it into the namespace
>> of the importing module only. (Other than __builtin__) there is no
>> truly global namespace in Python.
>>
>
> Actually there is, the __builtin__ module:
>
Oops, sorry, I answered too fast and my eye missed that conspicuous
parenthesis.
Best regards,
G. Rodrigues
More information about the Tutor
mailing list