ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
Re: how to pass a file descriptor in a swig module
by =?ISO-8859-1?Q?Gerhard_H=E4ring?= other posts by this author
Jul 2 2003 12:08PM messages near this date
Re: how to pass a file descriptor in a swig module | os.fork() different in cgi-script?
kj.kjn wrote:
>  My function func(File * des) is embedded in a module swig.
>  
>  I would to know how to call this function from python script and if it's
>  necessay
>  
>  to declare a typemaps ?

Not sure if that helps here, but Python file objects have a function 
called fileno() to return the file number.

-- Gerhard

-- 
http://mail.python.org/mailman/listinfo/python-list
Thread:
kj.kjn
Pierre Schnizer
Pierre Schnizer
=?ISO-8859-1?Q?Gerhard_H=E4ring?=

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved