Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.019 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'syntax': 0.03; 'error:': 0.05; 'python': 0.09; 'cc:addr:python-list': 0.10; '>>': 0.16; '.py': 0.16; 'last)': 0.16; 'wrote:': 0.17; 'subject:request': 0.17; 'feb': 0.19; 'module': 0.19; 'import': 0.21; '"",': 0.22; 'cc:2**0': 0.23; '>': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'thanks!': 0.26; 'am,': 0.27; 'subject:information': 0.27; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; 'post': 0.28; 'url:mailman': 0.29; 'skip:& 10': 0.29; 'skip:& 30': 0.30; 'function': 0.30; 'error': 0.30; 'figure': 0.30; 'code': 0.31; 'url:python': 0.32; 'file': 0.32; 'mac': 0.32; 'running': 0.32; 'url:listinfo': 0.32; 'me?': 0.33; 'skip:& 20': 0.33; 'version': 0.34; "can't": 0.34; 'received:google.com': 0.34; 'saved': 0.35; 'received:209.85': 0.35; 'created': 0.36; 'url:org': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'store': 0.38; 'url:docs': 0.38; 'help': 0.40; 'url:mail': 0.40; 'your': 0.60; 'save': 0.61; "you'll": 0.62; 'information': 0.63; 'more': 0.63; 'circle': 0.65; 'kindly': 0.67; '2013': 0.84; 'url:tutorial': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=NWBhjh2uImHg9jjfmU/iP9qKwuyWRRW+7phJbA+mHn4=; b=dJHxP51g3Y1L90eAAKdJ+J66Cd2JsVrm3LtkR/hx+wxlrwkWU38tdontrMlXf/sm91 aKETOjpI6VecqUJW4GrB6aYpgrWjclW6k5xswXptSzJLWd1+2RXff112oHRjcNitEc5V ZhQa6P6Ha+Nguqwwxap1CFk+TIGrqn+9Ce0j2nhG0RJOC+wbdo4zhW6vBxyB8W6L2EF0 d9vpvHIVk/zsx1GrAKPFxyGoIMa3wtwwsKFazB23kdyfpxpojbr5qbjDLf1e2SAwtGCY DAnOy3Zzjk+MKK0tQaTzjRSYY7en7niJ6saSS7SRttwF3lBoTYxWCQRWGyIvPR0CC/GN ajKw== X-Received: by 10.58.106.35 with SMTP id gr3mr12743572veb.51.1361132635897; Sun, 17 Feb 2013 12:23:55 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Michael Herman Date: Sun, 17 Feb 2013 12:23:34 -0800 Subject: Re: request of information To: leonardo selmi Content-Type: multipart/alternative; boundary=047d7b677ee6413fe404d5f1638d Cc: python-list@python.org 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: 84 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361132639 news.xs4all.nl 6842 [2001:888:2000:d::a6]:43222 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39037 --047d7b677ee6413fe404d5f1638d Content-Type: text/plain; charset=ISO-8859-1 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 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 > >> "", line 1, in > >> 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 > --047d7b677ee6413fe404d5f1638d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable There's a syntax error at line 1 of circle.py. Try running circle.py, y= ou'll get more information about the error -=A0http://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, leona= rdo 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 hav= e created a function and want to save it as a file using "idle", = i have saved =A0it with .py , when i try to import the module i get an erro= r: 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

--047d7b677ee6413fe404d5f1638d--