[Python-talk] mat3d error
Python
python at venix.com
Thu Sep 11 16:53:54 EDT 2008
Python is sensitive to leading space. The indentation of your source
code is not just pretty printing. It defines the nesting of your code
blocks.
I presume that print was too far to the left or right. Line the first
character up exactly with line 645 below it. (A fixed width font
helps.)
On Thu, 2008-09-11 at 16:41 -0400, Labitt, Bruce wrote:
> But I get the following error:
> print "width is:", width
> ^
>
> SyntaxError: invalid syntax
>
> What am I doing wrong?
>
> -Bruce
>
> -----Original Message-----
> From: python-talk-bounces at dlslug.org
> [mailto:python-talk-bounces at dlslug.org] On Behalf Of Labitt, Bruce
> Sent: Thursday, September 11, 2008 4:33 PM
> To: Python
> Cc: python-talk at dlslug.org
> Subject: Re: [Python-talk] mat3d error
>
> Umm, I figured out the line # part
>
>
> Could you add the line
> print "width is:", width
> into the mat3d.py file to send some debugging info to the console?
>
> [Labitt, Bruce] Thanks
> _______________________________________________
> Python-talk mailing list
> Python-talk at dlslug.org
> http://dlslug.org/mailman/listinfo/python-talk
--
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug
More information about the Python-talk
mailing list