Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: learning curve

Reply
Thread Tools

Re: learning curve

 
 
Dave Angel
Guest
Posts: n/a
 
      12-28-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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
curve and curve with error objects : sorting , friend Hicham Mouline C++ 2 09-14-2009 02:11 PM
Learning Curve on 2.0 Jeremy S. ASP .Net 2 09-10-2005 03:57 AM
Not a problem more of a challenge/learning curve Osiris Luxor Computer Support 4 02-12-2004 06:25 PM
Re: The Learning curve of taking great pictures. John O. Digital Photography 3 07-27-2003 02:44 PM
Re: The Learning curve of taking great pictures. J. A. Mc. Digital Photography 0 07-10-2003 04:09 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57