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


Groups > comp.lang.python > #39034

request of information

From leonardo selmi <l.selmi@icloud.com>
Subject request of information
Date 2013-02-17 19:47 +0100
References <B4AF6361-A77D-477D-876E-466756630D0E@icloud.com>
Newsgroups comp.lang.python
Message-ID <mailman.1901.1361126853.2939.python-list@python.org> (permalink)

Show all headers | View raw


> 
> 
> 
> 
>> 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
> 

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


Thread

request of information leonardo selmi <l.selmi@icloud.com> - 2013-02-17 19:47 +0100

csiph-web