bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Gnug built on Win (finally)


From: Massimiliano . Maini
Subject: Re: [Bug-gnubg] Gnug built on Win (finally)
Date: Fri, 18 Nov 2005 09:19:26 +0100

Found why IDLE doesn't start :

>> BTW: Why is argv missing from the sys module?
>>
>>sys.argv is something that appears only during interactive invocation of
>>Python. sys.argv is created by PySys_SetArgv() C API function which is
>>called from main(). If python is not invoked from the command line,
>>main() is never executed, thus no sys.argv. This is actually one way to
>>tell whether you're running from the command line or embedded.
>>
>>The documentation for Py_Initialize() function mentions this, BTW.

Guess some hacking of the python code could easily solve the problem.
Just wondering : is it working on unix/linux systems ?

MaX.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]