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

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 script

[python-win32] Passing c structure into Python script

2009-11-18 Thread a h
Hi all 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 script which take an C