How to pass FILE *
xDog Walker
thudfoo at gmail.com
Fri Sep 28 17:55:07 EDT 2012
The function I am trying to call wants a FILE *:
dlg_progressbox(const char *title,
const char *cprompt,
int height,
int width,
int pauseopt,
FILE *fp)
I can open the file to be referenced:
fp = os.fdopen(self.pipefds[0], 'r')
Every thing I've tried ends with ctypes raising a TypeError.
--
Yonder nor sorghum stenches shut ladle gulls stopper torque wet
strainers.
-------------------------------------------------------
--
Yonder nor sorghum stenches shut ladle gulls stopper torque wet
strainers.
More information about the Python-list
mailing list