Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #25846
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <jeanpierreda@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.039 |
| X-Spam-Evidence | '*H*': 0.92; '*S*': 0.00; 'nameerror:': 0.09; 'cc:addr:python-list': 0.10; 'subject:python': 0.11; 'files.': 0.13; '"import': 0.16; '__init__.py': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'import': 0.21; 'defined': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header :In-Reply-To:1': 0.25; '(most': 0.27; 'am,': 0.27; 'message- id:@mail.gmail.com': 0.27; 'received:209.85.213.174': 0.29; 'received:mail-yx0-f174.google.com': 0.29; 'probably': 0.29; '(and': 0.32; 'file': 0.32; 'traceback': 0.33; 'received:google.com': 0.34; 'wrong': 0.34; 'described': 0.35; 'path': 0.35; 'skip:l 30': 0.35; 'received:209.85': 0.35; 'bad': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'sure': 0.38; 'header:Received:5': 0.40; 'your': 0.60; 'export': 0.62; 'show': 0.63; 'jul': 0.65; 'kat': 0.91; 'skip:/ 30': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=3W8+bgtj5BoCNp6PT28jH7ogX4Pp0Bo5sVPgWSpWKCw=; b=mB6r7reXCIDMMwFhHXJGPZvj5HjonNJHFQj6J7CmA3drJmlDXKCOz4fl7/sj8lbXt3 BsegUC8VhXCwrnzOUKy6yf0k+YlL+AQ2/7N9M+yzPs+VxXSj8F2EWMlwKMlwdUhO+Gww 9Q3ZmzpUmt1BWsTor8FKB6gVsSNC7Oq7Ggj7JcbzlkSNbYYam6GNzPnUYf6YJ5s4tvIJ l19bMv/81Q4Yo5YSBNxUpFmUP2dgHeQTj3eWmRkmxzHhSTHi/By9Tn9N6P8AHC4wN4Jf L+ajpq/26dN87Pi2r3OeyC3U9CeQk/PY8YwV8/Zj869h/nE2EYSS01xKHH06UZIJ9YVe GKug== |
| MIME-Version | 1.0 |
| In-Reply-To | <BsCdnb3NJ_bOvJDNnZ2dnUVZ7rmdnZ2d@bt.com> |
| References | <BsCdnb3NJ_bOvJDNnZ2dnUVZ7rmdnZ2d@bt.com> |
| From | Devin Jeanpierre <jeanpierreda@gmail.com> |
| Date | Mon, 23 Jul 2012 06:22:45 -0400 |
| Subject | Re: python package confusion |
| To | Lipska the Kat <lipska@lipskathekat.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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.2458.1343039009.4697.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1343039009 news.xs4all.nl 6951 [2001:888:2000:d::a6]:44276 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:25846 |
Show key headers only | View raw
On Mon, Jul 23, 2012 at 6:02 AM, Lipska the Kat <lipska@lipskathekat.com> wrote: > The PYTHONPATH ev is set to /home/lipska/python/dev/mods:. > in .bashrc Did you export it? Show us your .bashrc, or the relevant line in it exactly. (And make sure that it isn't defined multiple times). Also adding . to the import search path is probably a bad diea. > lipska@ubuntu:~/python/dev/mods$ test.py > Traceback (most recent call last): > File "./test.py", line 5, in <module> > fib(1000) > NameError: name 'fib' is not defined Neither of the files you described in your email message contain the line "fib(1000)", so you pasted the wrong files. > I also have an empty file __init__.py in the mods directory This only matters if you want to "import mods". -- Devin
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
python package confusion Lipska the Kat <lipska@lipskathekat.com> - 2012-07-23 11:02 +0100
Re: python package confusion Dave Angel <d@davea.name> - 2012-07-23 06:19 -0400
Re: python package confusion Lipska the Kat <lipska@lipskathekat.com> - 2012-07-23 11:54 +0100
Re: python package confusion Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-07-23 06:22 -0400
Re: python package confusion Lipska the Kat <lipska@lipskathekat.com> - 2012-07-23 12:02 +0100
Re: python package confusion David <bouncingcats@gmail.com> - 2012-07-23 21:16 +1000
Re: python package confusion Lipska the Kat <lipska@lipskathekat.com> - 2012-07-23 12:43 +0100
Re: python package confusion Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-07-24 05:38 +0000
Re: python package confusion Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-07-24 03:49 -0400
csiph-web