[Tutor] (no subject)
Alan Gauld
alan.gauld at btinternet.com
Tue May 11 21:21:43 CEST 2010
"Sivapathasuntha Aruliah" <Sivapathasuntha.Aruliah at amkor.com> wrote
> I am learning Python. When I tried to run any of the program for example
> csv2html1_ans.py it displays the following message. This error is coming
> on both Python24 & Python 31. That is whether i give the any one of the
> following command
>
> COMMAND GIVEN
> 1.C:\python24\python.exe C:\py3eg\quadratic.py
> 2.C:\python31\python.exe C:\py3eg\quadratic.py
>
> A message below appears with the program name. Please advice me how to get
> over from this issue
> ERROR MESSAGE
> command C:\py3eg\csv2html1_ans.py is not a valid Win32 application
How are you running the commands? In a DOS box?
Which OS version is it? I get a different error message in XP:
C:\Documents and Settings\Alan Gauld>ghfghfghfh
'ghfghfghfh' is not recognized as an internal or external command,
operable program or batch file.
If it is a DOS box then what you are doing should work, but the error suggests
it is trying to treat the argument as a program which should not happen!
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list