On Tue, 02 Jun 2009 02:37:04 -0300, Gabriel Genellina wrote:
> En Mon, 01 Jun 2009 21:40:26 -0300, Steven D'Aprano
> escribió:
>
>> I have a package which includes a module which shadows a module in the
>> standard library. For example:
>>
>> package
>> +-- __init__.py
>> +-- ham.py
>> +-- spam.
En Mon, 01 Jun 2009 21:40:26 -0300, Steven D'Aprano
escribió:
I have a package which includes a module which shadows a module in the
standard library. For example:
package
+-- __init__.py
+-- ham.py
+-- spam.py
+-- sys.py
Inside that package, I want to import the standard library sys. In ot
I have a package which includes a module which shadows a module in the
standard library. For example:
package
+-- __init__.py
+-- ham.py
+-- spam.py
+-- sys.py
Inside that package, I want to import the standard library sys. In other
words, I want an absolute import. In Python 2.7, absolute impo