Re: request of information

Discussion in 'Python' started by Michael Herman, Feb 17, 2013.

  1. There's a syntax error at line 1 of circle.py. Try running circle.py,
    you'll get more information about the error -
    http://docs.python.org/2/tutorial/errors.html

    If you can't figure it out, post your code for circle.py.

    On Sun, Feb 17, 2013 at 10:47 AM, leonardo selmi <> wrote:

    >
    > >
    > >
    > >
    > >
    > >> gentlemen:
    > >>
    > >> i am reading a book about python and now i am blocked, i can't store

    > functions in modules: i have a mac and am using version 2.7.3, i have
    > created a function and want to save it as a file using "idle", i have saved
    > it with .py , when i try to import the module i get an error:
    > traceback(most recent call last) file
    > >> "<pyshell#0>", line 1, in <module>
    > >> import circle
    > >> file "circle.py", line 1
    > >> syntax error: invalid syntax
    > >>
    > >> can you kindly help me?
    > >> thanks!
    > >>
    > >> best regards

    > >

    >
    > --
    > http://mail.python.org/mailman/listinfo/python-list
    >
    Michael Herman, Feb 17, 2013
    #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. Brian Birtle
    Replies:
    2
    Views:
    2,016
    John Saunders
    Oct 16, 2003
  2. z. f.
    Replies:
    0
    Views:
    675
    z. f.
    Feb 3, 2005
  3. subrato
    Replies:
    8
    Views:
    914
    Juan T. Llibre
    Mar 14, 2006
  4. clercmedia
    Replies:
    2
    Views:
    32,275
    clercmedia
    Dec 9, 2005
  5. lerenard001
    Replies:
    0
    Views:
    421
    lerenard001
    Jul 7, 2008
Loading...

Share This Page