Re: [Tutor] Problem with Pythonwin
> I am using a windows box and I have installed Activestate > ActivePython 2.4 > When I start Pythonwin IDE, it gives me the following error: > > * File "", line 1, in ? > File > "C:\python\Lib\site-packages\pythonwin\pywin\framework\startup.py", > line 49, in ? >exec "import %s\n" % moduleName > File "re.py", line 9, in ? >i = input("Enter any positive integer\n") > exceptions.EOFError: EOF when reading a line* Is this the first time you have started (or tried to start) Pythonwin? Or did it used to work and is now broken? How are you trying to start Pythonwin? Are you running it from the Start Menu? The error you are seeing should only occur if you are starting pythonwin with a commandline argument, and that's unusual! If you have just installed it and this is the first time you've tried running Pythonwin then I'd suggest uninstalling Python, and then reinstalling it. If that still gives the same error check the Pyhonwin shortcutr properties to see if any arguments are being passed to it. Best I can think of... Alan g ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Problem with Pythonwin
Asrarahmed Kadri wrote: > Hi folks, > > > I am new to Python and have just taken a few steps in this long journey.. > > I am using a windows box and I have installed Activestate ActivePython 2.4 > > When I start Pythonwin IDE, it gives me the following error: > > File "re.py", line 9, in ? > i = input("Enter any positive integer\n") > exceptions.EOFError: EOF when reading a line* > You have a file re.py in the python path that is shadowing the library module re. Rename your file to something else and try again. Kent ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Problem with Pythonwin
It is very hard to know what caused that, but could you post the piece of code you were trying to execute?? Or did you get the error when you opened the Pythonwin without any code?? -- Dominik - Original Message - From: Asrarahmed Kadri To: tutor@python.org Sent: Sunday, September 03, 2006 10:34 AM Subject: [Tutor] Problem with Pythonwin Hi folks, I am new to Python and have just taken a few steps in this long journey.. I am using a windows box and I have installed Activestate ActivePython 2.4 When I start Pythonwin IDE, it gives me the following error: File "", line 1, in ? File "C:\python\Lib\site-packages\pythonwin\pywin\framework\startup.py", line 49, in ? exec "import %s\n" % moduleName File "", line 1, in ? File "C:\python\Lib\site-packages\pythonwin\pywin\framework\intpyapp.py", line 8, in ? import string File "C:\python\Lib\string.py", line 83, in ? import re as _re File "re.py", line 9, in ? i = input("Enter any positive integer\n")exceptions.EOFError: EOF when reading a line Can anyone help me with this?? Regards, Asrar ___Tutor maillist - Tutor@python.orghttp://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
[Tutor] Problem with Pythonwin
Hi folks, I am new to Python and have just taken a few steps in this long journey.. I am using a windows box and I have installed Activestate ActivePython 2.4 When I start Pythonwin IDE, it gives me the following error: File "", line 1, in ? File "C:\python\Lib\site-packages\pythonwin\pywin\framework\startup.py", line 49, in ? exec "import %s\n" % moduleName File "", line 1, in ? File "C:\python\Lib\site-packages\pythonwin\pywin\framework\intpyapp.py", line 8, in ? import string File "C:\python\Lib\string.py", line 83, in ? import re as _re File "re.py", line 9, in ? i = input("Enter any positive integer\n")exceptions.EOFError: EOF when reading a line Can anyone help me with this?? Regards, Asrar ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor