[PythonCE] Python2.2 AND ipaq
Brad Clements
bkc at murkworks.com
Sun May 2 09:19:20 EDT 2004
Did you really start your function definition with 'Def' ? or did you use 'def'
"Def" is not valid
> --- pierre robidoux <elmh06 at hotmail.com> wrote:
> > I�m using python 2.2 in a pocket pc (ipaq 3800, UCP:ARM, OS:windowsCE).
> > I was just trying to use this small script , which It works nicely in my
> > laptop.
> >
> > Def conversion (tmp_C):
> > tmp_f=tmp_C*1.8 +32
> > print tmp_f
> >
> > I got this error
> > <<Traceback (most recent call last):
> >
> > file �\program files\python\lib\pcceshell.py�, line 538, in interact
> > exec codeOb in locals File �<input>� line 1, in? NameError:global
> > name �tmp_f� is not defined.
> >
> > I don�t know what to do.
> >
> > _________________________________________________________________
> > Tired of spam? Get advanced junk mail protection with MSN Premium
> >
> http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=ht
> tp://hotmail.com/enca&HL=Market_MSNIS_Taglines > > >
> _______________________________________________ > PythonCE mailing list >
> PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs
> http://hotjobs.sweepstakes.yahoo.com/careermakeover
>
> _______________________________________________
> PythonCE mailing list
> PythonCE at python.org
> http://mail.python.org/mailman/listinfo/pythonce
--
Brad Clements, bkc at murkworks.com (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
http://www.wecanstopspam.org/ AOL-IM: BKClements
More information about the PythonCE
mailing list