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

<br></div><div>If you can't figure it out, post your code for circle.py.<br><br><div class="gmail_quote">On Sun, Feb 17, 2013 at 10:47 AM, leonardo selmi <span dir="ltr"><<a href="mailto:l.selmi@icloud.com" target="_blank">l.selmi@icloud.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
><br>
><br>
><br>
><br>
>> gentlemen:<br>
>><br>
>> 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<br>


>> "<pyshell#0>", line 1, in <module><br>
>> import circle<br>
>> file "circle.py", line 1<br>
>> syntax error: invalid syntax<br>
>><br>
>> can you kindly help me?<br>
>> thanks!<br>
>><br>
>> best regards<br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br></div>