Re: learning curve

Discussion in 'Python' started by Dave Angel, Dec 28, 2012.

  1. Dave Angel

    Dave Angel Guest

    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
     
    Dave Angel, Dec 28, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeremy S.

    Learning Curve on 2.0

    Jeremy S., Sep 9, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    397
    clintonG
    Sep 10, 2005
  2. Jetus
    Replies:
    10
    Views:
    528
    D'Arcy J.M. Cain
    Apr 8, 2008
  3. M.-A. Lemburg
    Replies:
    3
    Views:
    315
    M.-A. Lemburg
    Apr 9, 2008
  4. Hicham Mouline
    Replies:
    2
    Views:
    377
    Jerry Coffin
    Sep 14, 2009
  5. Zach Dennis
    Replies:
    3
    Views:
    167
    Jim Weirich
    Jan 30, 2004
Loading...

Share This Page