Re: [python-win32] running a python script on WinXP by icon double-clicking.

2010-08-04 Thread Tim Roberts
Vineet Deodhar wrote: > I have created a py2.6 script for a simple GUI with Tkinter. > Saved it with .py extension and also as .pyw extension. > ... > 1) When run from command prompt as --- > D:\py>python entry.py > it runs nicely. > > 2) If I double-click on either entry.py or entry.pyw file, > n

[python-win32] Strange problems using Python inside Windows Script Components (WSC)

2010-08-04 Thread Erik Oosterwaal
Hi All, I'm using Python inside a Windows Script Component (.wsc). I instantiate the WSC and call the code from classic ASP using VBscript. Now I'm running into a couple of problems: The standard ASP objects seem not to be available to Python in the WSC, even though the WSC has the implements ASP

Re: [python-win32] running a python script on WinXP by icon double-clicking.

2010-08-04 Thread Vineet Deodhar
Hi Kevin, I checked "Opens with" option for .py and .pyw files. Associations are correct. This problem happens for any python script file, not just this-one. Do I really need to remove & reinstall py26, or can there any other option ! ---Vineet. --- On Wed, 4/8/10, Kevin Horn wrote: From: Ke

Re: [python-win32] running a python script on WinXP by icon double-clicking.

2010-08-04 Thread Gelonida
On 08/04/2010 08:30 AM, Vineet Deodhar wrote: > I have created a py2.6 script for a simple GUI with Tkinter. > Saved it with .py extension and also as .pyw extension. > > filename is entry.py > [CODE] > from Tkinter import * > from quitter import Quitter > > def fetch(): > print('Input => "%s