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


Groups > comp.lang.python > #39037

Re: request of information

References <B4AF6361-A77D-477D-876E-466756630D0E@icloud.com> <AA2818A2-956F-40EE-8F85-802C28F91572@icloud.com>
From Michael Herman <hermanmu@gmail.com>
Date 2013-02-17 12:23 -0800
Subject Re: request of information
Newsgroups comp.lang.python
Message-ID <mailman.1904.1361132639.2939.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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 <l.selmi@icloud.com> 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
>

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: request of information Michael Herman <hermanmu@gmail.com> - 2013-02-17 12:23 -0800

csiph-web