Detect PythonWin?

Brett g Porter bgporter at artlogic.com
Fri Aug 1 15:14:05 CEST 2003


Martin Bless wrote:

> 
> I often have the situation that while developing with PythonWin I have
> to  insert code like
> 
> if 1 and "developing in PythonWin":
>     sys.argv[1:] = ['fake', 'arguments']
> 

Is there a subtle reason that you can't pass the arguments using the 
"Arguments" field on the PythonWin "Run Script" dialog?

That's always worked fine for me...





More information about the Python-list mailing list