[Tutor] new guy problem, what's wrong with this program.

Michael Langford mlangford.cs03 at gtalumni.org
Mon Jan 14 06:15:37 CET 2008


I suggest using pychecker. It helps if you have spelling issues like I do:

pychecker.sourceforge.net/

Its sorta like lint for python.

        --Michael

On 1/13/08, John Fouhy <john at fouhy.net> wrote:
> On 14/01/2008, bill.wu <bill.wws at gmail.com> wrote:
> > mumber = 23
> > running = Ture
> [...]
> > when i run it, interactive window show:
> >
> > Traceback (most recent call last):
> [...]
> > NameError: name 'Ture' is not defined
>
> Hi Bill,
>
> The error message means that python doesn't know what "Ture" is.  In
> this case, I suspect you have misspelt "True".  Programming languages
> are quite picky about correct spelling!
>
> --
> John.
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>


-- 
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com


More information about the Tutor mailing list