Hi Yashwin When I run the hello.py from it's location by double clicking it shows an error with the pop up window C:\Python31\python.exe is not a valid win32 application. When I give the command from IDLE then it says SyntaxError: invalid syntax Which can be seen from Python Shell. Please analyse.
Regards, Siva Test Equipment Engineering Amkor Technology (S) Pte Ltd 1 Kaki Bukit View #03-28 TechView Building Singapore 415941 Tel: (65) 6347 1131 Fax: (65) 6746 4815 Yashwin Kanchan <yashwinkanc...@gmail.com> 05/18/2010 03:28 AM To Sivapathasuntha Aruliah/S1/a...@amkor cc tutor@python.org Subject Re: [Tutor] Unable to run a simple Hello.py in WinXP Hi Siva This looks more of issue with the python installation on your PC. Could be a bad installation, in which case I would suggest re-installation of python. Also it could be something to do with permission on your PC. Also you say that you were successful in running the script on python shell. Could you please tell us do you mean IDLE or the python command prompt?In either case please tell us how do you to initiate the shell on your machine. Regards Yashwin Kanchan On 17 May 2010 09:05, Sivapathasuntha Aruliah < sivapathasuntha.arul...@amkor.com> wrote: Hi If possible please run the following two lines after saving it as a py file on WINXP and check whether it runs smooythly. When I run I get error. I use Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. However when I give the following command on Python shell print("Hello", "World!") it neately prints Hello World! #! /usr/bin/env python3 print("Hello", "World!") Regards, Siva Test Equipment Engineering Amkor Technology (S) Pte Ltd 1 Kaki Bukit View #03-28 TechView Building Singapore 415941 Tel: (65) 6347 1131 Fax: (65) 6746 4815 _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
<<image/gif>>
<<image/gif>>
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor