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


Groups > comp.lang.python > #63673

Re: Input Error issues - Windows 7

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!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.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'package,': 0.03; 'class,': 0.07; 'subject:Error': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'jan': 0.12; '(created': 0.16; '__init__.py': 0.16; 'foo():': 0.16; 'java.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'uppercase': 0.16; 'folder': 0.16; 'wrote:': 0.18; 'module': 0.19; 'pointed': 0.19; 'machine': 0.22; 'header:User-Agent:1': 0.23; 'looks': 0.24; 'class.': 0.26; 'least': 0.26; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'work.': 0.31; 'class': 0.32; 'says': 0.33; 'fri,': 0.33; 'problem.': 0.35; 'but': 0.35; 'convention': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'till': 0.61; 'email addr:gmail.com': 0.63; 'name': 0.63; 'caused': 0.69; 'received:myvzw.com': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dave Angel <davea@davea.name>
Subject Re: Input Error issues - Windows 7
Date Fri, 10 Jan 2014 18:20:32 -0500
References <e49eae5d-0ca8-44e6-a80a-7906b9dad8c0@googlegroups.com> <e49eae5d-0ca8-44e6-a80a-7906b9dad8c0@googlegroups.com>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host 96.sub-70-208-129.myvzw.com
In-Reply-To <e49eae5d-0ca8-44e6-a80a-7906b9dad8c0@googlegroups.com>
User-Agent Groundhog Newsreader for Android
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.5311.1389395925.18130.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1389395925 news.xs4all.nl 2877 [2001:888:2000:d::a6]:45251
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:63673

Show key headers only | View raw


On Fri, 10 Jan 2014 11:38:32 -0800 (PST), bryan.kardisco@gmail.com 
wrote:
> It's in the following directory on my machine


> C:\workspace\PyFoo\src\foo
> In that folder is __init__.py (created automatically)  and foo.py


> foo.py looks like this


> class foo():

Ned has pointed out your path problem.  But you have another,  
perhaps caused by overexposure to java. You have a package,  a module 
and a class, all with the same name. Convention says at least 
uppercase for the class. I say make every name unique till you learn 
how they work.

-- 
DaveA

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


Thread

Input Error issues - Windows 7 bryan.kardisco@gmail.com - 2014-01-10 11:38 -0800
  Re: Input Error issues - Windows 7 Ned Batchelder <ned@nedbatchelder.com> - 2014-01-10 14:48 -0500
  Re: Input Error issues - Windows 7 Dave Angel <davea@davea.name> - 2014-01-10 18:20 -0500

csiph-web