Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: request of information

Reply
Thread Tools

Re: request of information

 
 
Jason Swails
Guest
Posts: n/a
 
      02-17-2013
On Sun, Feb 17, 2013 at 1:47 PM, leonardo selmi <(E-Mail Removed)> 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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Information technology is incomplete without information security alannis.albert@googlemail.com Computer Support 0 04-14-2008 06:42 AM
More Information than just IIS Log Information subrato ASP .Net 8 03-14-2006 09:59 PM
signer information does not match signer information of other classes in the same package clercmedia Java 2 12-09-2005 03:14 PM
strange information from asp.net trace / getting performance information using WebRequest and StreamReader z. f. ASP .Net 0 02-03-2005 11:23 AM
Re: Accessing Request.InputStream / Request.BinaryRead *as the request is occuring*: How??? Brian Birtle ASP .Net 2 10-16-2003 02:11 PM



Advertisments