Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'syntax': 0.03; 'error:': 0.05; 'python': 0.09; '.py': 0.16; 'last)': 0.16; 'subject:request': 0.17; 'module': 0.19; 'import': 0.21; '"",': 0.22; 'thanks!': 0.26; 'subject:information': 0.27; 'function': 0.30; 'file': 0.32; 'mac': 0.32; 'to:addr:python-list': 0.33; 'me?': 0.33; 'version': 0.34; "can't": 0.34; 'received:17': 0.35; 'saved': 0.35; 'created': 0.36; 'charset:us-ascii': 0.36; 'store': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'help': 0.40; 'save': 0.61; 'circle': 0.65; 'kindly': 0.67 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327,1.0.431,0.0.0000 definitions=2013-02-17_06:2013-02-15, 2013-02-17, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=6 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1212290000 definitions=main-1302170185 From: leonardo selmi Content-type: text/plain; charset=us-ascii Content-transfer-encoding: quoted-printable Subject: request of information Date: Sun, 17 Feb 2013 19:47:18 +0100 References: To: python-list@python.org MIME-version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361126853 news.xs4all.nl 6984 [2001:888:2000:d::a6]:56326 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39034 >=20 >=20 >=20 >=20 >> gentlemen: >>=20 >> 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 =20 >> "", line 1, in =20 >> import circle >> file "circle.py", line 1 >> syntax error: invalid syntax >>=20 >> can you kindly help me? >> thanks! >>=20 >> best regards >=20