On Tue, 05 Jun 2007 21:32:21 +0200
"Martin v. Löwis" <[EMAIL PROTECTED]> wrote:

> You could try to invoke getmntent(3). I'm not aware of a Python wrapper
> for it, so you either try to write one yourself in C, or use ctypes to
> write it in Python.

I am looking at ctypes and it might do what I need but I can't figure
out a way to convert a Python File object to a C FILE pointer (which is
the needed argument for getmntent).

Any ideas?

-- 
Mitko Haralanov                                  [EMAIL PROTECTED]
Senior Software Engineer                             650.934.8064
System Interconnect Group                   http://www.qlogic.com

==========================================
 Fry: That clover helped my rat-fink brother steal my dream of going
into space. Now I'll never get there. 
 Leela: You went there this morning for donuts.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to