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


Groups > comp.lang.python > #35674 > unrolled thread

Re: learning curve

Started byDave Angel <d@davea.name>
First post2012-12-27 22:14 -0500
Last post2012-12-27 22:14 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: learning curve Dave Angel <d@davea.name> - 2012-12-27 22:14 -0500

#35674 — Re: learning curve

FromDave Angel <d@davea.name>
Date2012-12-27 22:14 -0500
SubjectRe: learning curve
Message-ID<mailman.1382.1356664518.29569.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web