[Python-3000] NameError
Ali art
biltar at hotmail.com
Mon Nov 24 11:55:01 CET 2008
I am using Windows XP professional version 2002 Service pack 3. AMD Athlon(TM)XP 2400+ 2.00GHz 992MB RAM.
I have downloaded Windows x86 MSI Instaler Python 3.0rc3 (sig) Release: 21-Nov-2008.
Control Panel -> System -> Advanced -> Environment Variables. System Variables -> Path -> edit C:\Windows\System32\Wbem;C:\Python30
start -> programs -> python 3.0 -> IDLE(Python GUI) -> IDLE 3.0rc3 -> File -> New Window -> i wrote "print('Hello World')" without qutes-> File -> Save -> Python30 -> i gave file name "helloworld.py" without qutes-> and saved -> and closed file and python shell
-> and then start -> programs -> python 3.0 -> Python (command line) ->
Python 3.0rc3 (r30rc3:67313, Nov 21 2008, 07:14:45) [MSC v.1500 32 bit (Intel)]on win32Type "help", "copyright", "credits" or "license" for more information.>>>
-> i wrote "helloworld.py" without quotes -> it gives NameError ->
Python 3.0rc3 (r30rc3:67313, Nov 21 2008, 07:14:45) [MSC v.1500 32 bit (Intel)]on win32Type "help", "copyright", "credits" or "license" for more information.>>> helloworld.pyTraceback (most recent call last): File "<stdin>", line 1, in <module>NameError: name 'helloworld' is not defined>>>
What did i do wrong?
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-3000/attachments/20081124/43e51be6/attachment.htm>
More information about the Python-3000
mailing list