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


Groups > comp.lang.python > #39036

Re: request of information

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 <jason.swails@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'syntax': 0.03; 'error:': 0.05; 'python': 0.09; 'cc:addr:python-list': 0.10; '&gt;&gt;': 0.16; '.py': 0.16; 'last)': 0.16; 'luck,': 0.16; '\xa0this': 0.16; 'wrote:': 0.17; 'subject:request': 0.17; 'feb': 0.19; 'module': 0.19; 'import': 0.21; '"",': 0.22; 'help.': 0.22; 'cc:2**0': 0.23; '&gt;': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'subject:information': 0.27; 'message-id:@mail.gmail.com': 0.27; 'there.': 0.28; 'post': 0.28; 'skip:& 10': 0.29; 'skip:& 30': 0.30; 'function': 0.30; 'error': 0.30; 'figure': 0.30; 'file': 0.32; 'mac': 0.32; 'says': 0.33; 'skip:& 20': 0.33; 'version': 0.34; "can't": 0.34; 'received:google.com': 0.34; 'wrong': 0.34; 'list': 0.35; 'jason': 0.35; 'saved': 0.35; 'pm,': 0.35; 'there': 0.35; 'created': 0.36; 'subject:: ': 0.38; 'store': 0.38; 'save': 0.61; 'first': 0.61; "you'll": 0.62; 'circle': 0.65; 'benefit': 0.70; 'yourself': 0.77; '2013': 0.84; '1:47': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=aqHKm9XB1nbKiU9JC90+adjs1KUp2KRmqKYXo2q9S+w=; b=nck0IjND4EY3RvvGxNbKpLbrDg0DalKOxqHBOtFmNaccrh/MQUKuNWYtn9nn+0uz9f 1oAbzeQRIZm5gm7WsQSRsVMaNkKXnN4zoOPlO+qeLNeh//Wh3BNkgGc73xRTGtUxFVIn K1n0vTD+SALnUT8NDstLN+3i1NL51XlNt9MVBs7ClN/MhdyXzR5YPqQ1lsECKB8Wl/QO vBFc8eY2bTBNpOwwz5UU2NL+G8vxUjicG4oBZxTUeJlXEoJQKZ6H/Xt3rKrCxdZZeS15 Lq/zupmEkLcUAFuATA02IMdVQL235mjiGsVDABoXSmiX16P8et3RX9zhZpxIKwQnH+VH FE/w==
MIME-Version 1.0
X-Received by 10.50.216.231 with SMTP id ot7mr6458456igc.2.1361132320072; Sun, 17 Feb 2013 12:18:40 -0800 (PST)
In-Reply-To <AA2818A2-956F-40EE-8F85-802C28F91572@icloud.com>
References <B4AF6361-A77D-477D-876E-466756630D0E@icloud.com> <AA2818A2-956F-40EE-8F85-802C28F91572@icloud.com>
Date Sun, 17 Feb 2013 15:18:39 -0500
Subject Re: request of information
From Jason Swails <jason.swails@gmail.com>
To leonardo selmi <l.selmi@icloud.com>
Content-Type multipart/alternative; boundary=14dae93406cd6e25a904d5f1505c
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1903.1361132328.2939.python-list@python.org> (permalink)
Lines 70
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1361132328 news.xs4all.nl 6930 [2001:888:2000:d::a6]:40462
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:39036

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, Feb 17, 2013 at 1:47 PM, leonardo 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 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
>

Look at the first line of circle.py.  This error says there is a syntax
error there.

If you can't figure out what is wrong with that line, you'll have to post
that to the list in order to get help.

(You'll benefit greatly if you can figure it out yourself -- that's the
best way to learn).

Good luck,
Jason

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


Thread

Re: request of information Jason Swails <jason.swails@gmail.com> - 2013-02-17 15:18 -0500

csiph-web