import in Python3.3
Terry Reedy
tjreedy at udel.edu
Tue Mar 26 03:04:44 EDT 2013
On 3/24/2013 7:12 PM, Fabian von Romberg wrote:
> Hi,
>
> I have a package name collections and inside of my package I want to
> import the collections package from the standard library, but there
> is name conflicts.
Yes. I strongly advise against trying to do this.
> How do I import explicitly from the standard library?
Manipulate sys.path. If you don't know how, either read about sys.path
(see index) or don't do it.
--
Terry Jan Reedy
More information about the Python-list
mailing list