[PythonCE] global nameerror
Brad Clements
bkc at murkworks.com
Mon Mar 22 06:00:10 EST 2004
Did you really type "Def conversion" ?
It should be "def conversion(tmp_C):"
otherwise, loooks fine to me
On 22 Mar 2004 at 5:33, pierre robidoux wrote:
>
> Im 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 dont know what to do.
>
>
>
> Up to 11 personalized e-mail addresses With MSN Premium Get 2 months
> FREE*.
--
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