request of information
hermanmu at gmail.com
Sun Feb 17 21:23:34 CET 2013
There's a syntax error at line 1 of circle.py. Try running circle.py,
you'll get more information about the error -
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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list