Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'rename': 0.09; 'subject:error': 0.11; 'subject:python': 0.12; 'wrote:': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:import': 0.16; 'subject:wrong': 0.16; 'pm,': 0.16; 'aug': 0.19; 'received:74.125.82.174': 0.19; 'received:mail- wy0-f174.google.com': 0.19; 'header:In-Reply-To:1': 0.22; 'tue,': 0.23; 'message-id:@mail.gmail.com': 0.28; 'import': 0.29; 'subject:?': 0.31; 'to:addr:python-list': 0.34; 'but': 0.37; 'received:google.com': 0.38; 'subject:: ': 0.38; 'received:74.125.82': 0.39; 'to:addr:python.org': 0.39; 'received:74.125': 0.40; 'your': 0.60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=IVR8Ug2rXlCOYCOPJJOf2xwdocGL2WjaSeFZK9GdXXA=; b=i1ya23Z1BOfaJuw4pXKhkWd25txQlH30herUVqJGanpT7BM0AQS/jFsFJEiDU1TqhU M9/WHvTYrMipmX1sNoUZD9YL4S4JXpDq8kSmfsSqX2Sxf8OSHByxN1ZcDQ5Y232eYuFW 8jhINxJbZowh4x2woHzXaDpnSgoZMt79Lbtt8= MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 2 Aug 2011 17:20:07 +0100 Subject: Re: python import error, what's wrong? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1312302009 news.xs4all.nl 23870 [2001:888:2000:d::a6]:47909 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:10744 On Tue, Aug 2, 2011 at 4:52 PM, smith jack 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