Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41860
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: import in Python3.3 |
| Date | 2013-03-26 03:04 -0400 |
| References | <kio19e$5e2$1@ger.gmane.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3722.1364281502.2939.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: import in Python3.3 Terry Reedy <tjreedy@udel.edu> - 2013-03-26 03:04 -0400
Re: import in Python3.3 rocky <rocky@gnu.org> - 2013-03-26 08:37 -0700
Re: import in Python3.3 Phil Connell <pconnell@gmail.com> - 2013-03-26 21:16 +0000
Re: import in Python3.3 Rocky Bernstein <rocky@gnu.org> - 2013-03-26 18:24 -0400
Re: import in Python3.3 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-26 23:06 +0000
Re: import in Python3.3 rocky <rocky@gnu.org> - 2013-03-26 17:33 -0700
Re: import in Python3.3 rocky <rocky@gnu.org> - 2013-03-26 08:37 -0700
csiph-web