Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #30430 > unrolled thread
| Started by | xDog Walker <thudfoo@gmail.com> |
|---|---|
| First post | 2012-09-28 14:55 -0700 |
| Last post | 2012-09-28 14:55 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
How to pass FILE * xDog Walker <thudfoo@gmail.com> - 2012-09-28 14:55 -0700
| From | xDog Walker <thudfoo@gmail.com> |
|---|---|
| Date | 2012-09-28 14:55 -0700 |
| Subject | How to pass FILE * |
| Message-ID | <mailman.1585.1348869366.27098.python-list@python.org> |
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.
Back to top | Article view | comp.lang.python
csiph-web