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. _______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
