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: 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 Subject: Re: Input Error issues - Windows 7 Date: Fri, 10 Jan 2014 18:20:32 -0500 References: 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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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