Re: [python-win32] Unable to build against debug Python

2009-11-19 Thread Arve Knudsen
On Thu, Nov 19, 2009 at 6:30 PM, Thomas Heller wrote: > Arve Knudsen schrieb: > > On Thu, Nov 19, 2009 at 8:01 AM, Thomas Heller > wrote: > > > >> Arve Knudsen schrieb: > >> > Hi > >> > > >> > I'm trying to install Python-Win32 from source in a debug-build of > Python > >> > 2.6.4, by issuing th

Re: [python-win32] Passing c structure into Python script

2009-11-19 Thread Tim Roberts
a h wrote: > > I want to know that how do I pass an C structure into python script. > Actually my problem is > 1. how do I call python script from C application ,in which I can pass > C structure > 2. how do I take that C structure into an python script > > actually i have to write an python sc

Re: [python-win32] Unable to build against debug Python

2009-11-19 Thread Thomas Heller
Arve Knudsen schrieb: > On Thu, Nov 19, 2009 at 8:01 AM, Thomas Heller wrote: > >> Arve Knudsen schrieb: >> > Hi >> > >> > I'm trying to install Python-Win32 from source in a debug-build of Python >> > 2.6.4, by issuing this command: python_d .\setup.py install. It fails >> > however, with this e

Re: [python-win32] Unable to build against debug Python

2009-11-19 Thread Arve Knudsen
On Thu, Nov 19, 2009 at 5:59 PM, Arve Knudsen wrote: > On Thu, Nov 19, 2009 at 8:01 AM, Thomas Heller wrote: > >> Arve Knudsen schrieb: >> > Hi >> > >> > I'm trying to install Python-Win32 from source in a debug-build of >> Python >> > 2.6.4, by issuing this command: python_d .\setup.py install.

Re: [python-win32] Unable to build against debug Python

2009-11-19 Thread Arve Knudsen
On Thu, Nov 19, 2009 at 8:01 AM, Thomas Heller wrote: > Arve Knudsen schrieb: > > Hi > > > > I'm trying to install Python-Win32 from source in a debug-build of Python > > 2.6.4, by issuing this command: python_d .\setup.py install. It fails > > however, with this error: LINK : fatal error LNK1104

Re: [python-win32] Passing c structure into Python script

2009-11-19 Thread Gerdus van Zyl
Never done it myself but I would suggest writing the c struct to a temp file. Then call the python script using normal system call in C (http://en.wikipedia.org/wiki/System_%28C_standard_library%29) and read the temp file using struct module from python http://docs.python.org/library/struct.html

[python-win32] ANN: PyGUI 2.1.1

2009-11-19 Thread Greg Ewing
PyGUI 2.1.1 is available: http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/ This is an emergency bugfix release to repair some major breakage in the gtk version. Also corrects some other problems. What is PyGUI? -- PyGUI is a cross-platform GUI toolkit designed to be light