Re: Python in C integration and WxPython

2005-09-15 Thread Alain Paschoud
Hi David, Thanks for your answer, but I don't think the problem comes from which Python version I use. I installed the Python from cygwin, but this didn't change everything. Finally, I fullfill the PYTHONPATH environment variable to make the system finding the wx module. It is now able to find it

Re: Python in C integration and WxPython

2005-09-15 Thread David Wilson
It sounds like your C program and Python script are running under different interpreters. Your C program almost certainly is using a Python version that comes with Cygwin, while the script is probably using a native win32 Python that has wxPython installed. Assuming this is true, then compiling yo

Python in C integration and WxPython

2005-09-15 Thread Alain Paschoud
Hi all, I made a small dialog in WxPython. I can run the python script with a double-click or through command line, and everything goes fine (dialog appears, which means that wx module has been found). Then, I decided to write a C program (under Windows, with Cygwin) that will read my script (thro