Input Error issues - Windows 7

Dave Angel davea at davea.name
Fri Jan 10 18:20:32 EST 2014


On Fri, 10 Jan 2014 11:38:32 -0800 (PST), bryan.kardisco at 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




More information about the Python-list mailing list