wang <zev...@gmail.com> added the comment: my compile is gcc 4.2.1 system is windows xp
some other library can be import. such as:sys os c++ code line: Py_Initialize(); Py_SetProgramName(L"MyProgram"); module=PyImport_ImportModule("__main__"); moduledict=PyModule_GetDict(dodule); PySys_SetArgv(1,wxargv); PyRun_StringFlags("\ import tkinter\n\ ",Py_file_input,moduledict,moduledict,NULL); Py_finalize(); the urllib.request also can not import. ---------- type: -> crash _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5090> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com