Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61540
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'importerror:': 0.07; 'killer': 0.07; 'wednesday,': 0.07; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'language.': 0.14; '__init__.py': 0.16; 'above?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'spacing': 0.16; 'subject:import': 0.16; 'subject:python': 0.16; 'prevent': 0.16; 'language': 0.16; 'wrote:': 0.18; 'module': 0.19; 'thanks.': 0.20; 'written': 0.21; '>>>': 0.22; 'import': 0.22; 'header:User- Agent:1': 0.23; 'url:moin': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'appear': 0.29; 'leave': 0.29; 'work.': 0.31; 'url:wiki': 0.31; 'writes:': 0.31; 'file': 0.32; 'url:python': 0.33; 'december': 0.35; 'but': 0.35; 'google': 0.35; 'url:org': 0.36; 'follows:': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'anything': 0.39; 'structure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'read': 0.60; 'above,': 0.60; 'blank': 0.60; 'medical': 0.61; 'john': 0.61; 'making': 0.63; 'email addr:gmail.com': 0.63; 'real': 0.63; 'our': 0.64; 'serial': 0.72; 'email addr:panix.com': 0.84; 'doctor': 0.91; 'imagine': 0.93; 'suffering': 0.93; '2013': 0.98 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
| Subject | Re: python import error |
| Date | Wed, 11 Dec 2013 09:51:27 +0000 |
| References | <93405ea9-6faf-4a09-9fd9-ed264e3136e1@googlegroups.com> <l88r4e$mhe$1@reader1.panix.com> <58f7bd2a-ef82-4782-b4fb-db824f9c8e44@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | host-78-147-179-135.as13285.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
| In-Reply-To | <58f7bd2a-ef82-4782-b4fb-db824f9c8e44@googlegroups.com> |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3877.1386755511.18130.python-list@python.org> (permalink) |
| Lines | 64 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1386755511 news.xs4all.nl 2960 [2001:888:2000:d::a6]:52591 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:61540 |
Show key headers only | View raw
On 11/12/2013 05:45, smilesonisamal@gmail.com wrote: > On Wednesday, December 11, 2013 10:23:34 AM UTC+5:30, John Gordon wrote: >> In <93405ea9-6faf-4a09-9fd9-ed264e3136e1@googlegroups.com> smilesonisamal@gmail.com writes: >> >> >> >>> File "aaa.py", line 5, in <module> >> >>> from ccc.ddd import sss >> >>> ImportError: No module named ccc.ddd >> >> >> >>> directory structure as follows: >> >> >> >>> ccc >> >>> | >> >>> ddd >> >>> | >> >>> aaa.py >> >>> sss.py >> >> >> >> A python file isn't importable unless the directory also contains a file >> >> named __init__.py . >> >> >> >> Try making __init__.py files in the ccc and ddd directories. If you >> >> don't know what to put in them, just leave them blank. >> >> >> It is having __init__.py as blank in ccc and ddd directories. But it still doesnot work. >> -- >> >> John Gordon Imagine what it must be like for a real medical doctor to >> >> gordon@panix.com watch 'House', or a real serial killer to watch 'Dexter'. > Have you actually written anything above? You also appear to be suffering from the highly contagious double spaced google disease. So would you please read and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the double line spacing above, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
python import error smilesonisamal@gmail.com - 2013-12-10 19:56 -0800
Re: python import error Michael Torrie <torriem@gmail.com> - 2013-12-10 21:25 -0700
Re: python import error John Gordon <gordon@panix.com> - 2013-12-11 04:53 +0000
Re: python import error smilesonisamal@gmail.com - 2013-12-10 21:45 -0800
Re: python import error Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-12-10 23:23 -0800
Re: python import error Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-11 09:51 +0000
Re: python import error John Gordon <gordon@panix.com> - 2013-12-11 16:15 +0000
Re: python import error Michael Torrie <torriem@gmail.com> - 2013-12-10 22:02 -0700
csiph-web