Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39036 > unrolled thread
| Started by | Jason Swails <jason.swails@gmail.com> |
|---|---|
| First post | 2013-02-17 15:18 -0500 |
| Last post | 2013-02-17 15:18 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: request of information Jason Swails <jason.swails@gmail.com> - 2013-02-17 15:18 -0500
| From | Jason Swails <jason.swails@gmail.com> |
|---|---|
| Date | 2013-02-17 15:18 -0500 |
| Subject | Re: request of information |
| Message-ID | <mailman.1903.1361132328.2939.python-list@python.org> |
[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 top | Article view | comp.lang.python
csiph-web