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


Groups > comp.lang.python > #63673

Re: Input Error issues - Windows 7

From Dave Angel <davea@davea.name>
Subject Re: Input Error issues - Windows 7
Date 2014-01-10 18:20 -0500
References <e49eae5d-0ca8-44e6-a80a-7906b9dad8c0@googlegroups.com> <e49eae5d-0ca8-44e6-a80a-7906b9dad8c0@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.5311.1389395925.18130.python-list@python.org> (permalink)

Show all headers | 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