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


Groups > comp.lang.python > #10744

Re: python import error, what's wrong?

References <CAN1FwxfcL5+Yiz6dJ=8wRrGKkZ=2HsrNnZoYXauQpwu4ALjdxA@mail.gmail.com>
Date 2011-08-02 17:20 +0100
Subject Re: python import error, what's wrong?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1785.1312302009.1164.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Aug 2, 2011 at 4:52 PM, smith jack <thinke365@gmail.com> wrote:
> from org.test.A import A

This is going to look for org/test/A.py but not for org.test/A.py -
are you able to rename your directories to not have dots?

ChrisA

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


Thread

Re: python import error, what's wrong? Chris Angelico <rosuav@gmail.com> - 2011-08-02 17:20 +0100

csiph-web