learning curve

Dave Angel d at davea.name
Fri Dec 28 04:14:05 CET 2012


On 12/27/2012 08:20 PM, Verde Denim wrote:
> Just getting into Py coding and not understanding why this code doesn't
> seem to do anything -

Welcome to Python.

Can I ask the obvious question?  How can this be your first program? 
Are you just typing it in from somewhere (eg. a book, or a website)?  If
you're just starting, you should postpone writing classes and GUI, and
do some simple things.  At least till you understand more about the
python programming model.

Secondary questions you should be answering with any question here: 
What versions of Python have you installed, and on what OS.  And what
version are you running and how?  And when you launch Python, how are
you launching it?  You have two files here.  Running either of these as
python scripts will do nothing useful, because neither has any top-level
code. beyond defining some classes.  So you should show the source for
the main.py that you actually run, and show what you type at the
terminal prompt.



-- 

DaveA




More information about the Python-list mailing list