Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #30469 > unrolled thread

Re: How to pass FILE *

Started byxDog Walker <thudfoo@gmail.com>
First post2012-09-29 01:45 -0700
Last post2012-09-29 01:45 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to pass FILE * xDog Walker <thudfoo@gmail.com> - 2012-09-29 01:45 -0700

#30469 — Re: How to pass FILE *

FromxDog Walker <thudfoo@gmail.com>
Date2012-09-29 01:45 -0700
SubjectRe: How to pass FILE *
Message-ID<mailman.1609.1348908360.27098.python-list@python.org>
On Friday 2012 September 28 21:27, you wrote:
> A tiny bit of googling suggests the following approach:
> http://stackoverflow.com/questions/3794309/python-ctypes-python-file-object
>-c-file/3794401#3794401

Thanks for your response. 

My "tiny bit of Googling" brought no joy but I did try successfully the same 
method suggested by Alex Martelli: use libc's fdopen to get a FILE * for 
ctypes. I would have posted a reply to my own post but it didn't show up.

-- 
Yonder nor sorghum stenches shut ladle gulls stopper torque wet 
strainers.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web