Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41805

import in Python3.3

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'explicitly': 0.04; 'collections': 0.09; 'library?': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'advance': 0.10; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:import': 0.16; 'library,': 0.17; 'import': 0.21; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.28; 'to:addr:python-list': 0.33; 'hi,': 0.33; 'thanks': 0.34; 'there': 0.35; 'received:org': 0.36; 'but': 0.36; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'received:186': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Fabian von Romberg <fromberg100@hotmail.com>
Subject import in Python3.3
Date Sun, 24 Mar 2013 18:12:49 -0500
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 186.68.114.214
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3685.1364166787.2939.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1364166787 news.xs4all.nl 6988 [2001:888:2000:d::a6]:33532
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41805

Show key headers only | View raw


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.

How do I import explicitly from the standard library?

Im working on Python3.3

Thanks in advance and regards,
Fabian

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

import in Python3.3 Fabian von Romberg <fromberg100@hotmail.com> - 2013-03-24 18:12 -0500
  Re: import in Python3.3 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-25 00:27 +0000
    Re: import in Python3.3 Fabian von Romberg <fromberg100@hotmail.com> - 2013-03-24 20:39 -0500
    Re: import in Python3.3 rocky <rocky@gnu.org> - 2013-03-25 20:49 -0700
      Re: import in Python3.3 Jerry Hill <malaclypse2@gmail.com> - 2013-03-26 12:33 -0400
        Re: import in Python3.3 rocky <rocky@gnu.org> - 2013-03-26 11:41 -0700
        Re: import in Python3.3 rocky <rocky@gnu.org> - 2013-03-26 11:41 -0700
        Re: import in Python3.3 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-26 23:11 +0000

csiph-web