Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » C

Creating wrapper for python..

 
Jump to:  
 
Anish Chapagain
PostPosted: Mon Aug 04, 2008 3:11 pm    Post subject: Creating wrapper for python..
       
Hi..
What will be the best approach for creating wrapper in python language
for the API programmed in C.
I came across SWIG, but am having problem as the generated .pyd file
is not displaying any output...
so, how feasible will be to use ctype for python..it is possible in C
to create every c file a dll and link with necessary other one..??
 

 
santosh
PostPosted: Mon Aug 04, 2008 3:11 pm    Post subject: Re: Creating wrapper for python..
       
Anish Chapagain wrote:

Quote:
Hi..
What will be the best approach for creating wrapper in python language
for the API programmed in C.
I came across SWIG, but am having problem as the generated .pyd file
is not displaying any output...
so, how feasible will be to use ctype for python..it is possible in C
to create every c file a dll and link with necessary other one..??

<http://www.python.org/doc/>

Also <news:comp.lang.python>
 

 
Keith Thompson
PostPosted: Mon Aug 04, 2008 3:11 pm    Post subject: Re: Creating wrapper for python..
       
Anish Chapagain <anishchapagain@gmail.com> writes:
Quote:
What will be the best approach for creating wrapper in python language
for the API programmed in C.
I came across SWIG, but am having problem as the generated .pyd file
is not displaying any output...
so, how feasible will be to use ctype for python..it is possible in C
to create every c file a dll and link with necessary other one..??

comp.lang.python would be a better place for this question. Please
check that newsgroup's FAQ first.

--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
 

 
Antoninus Twink
PostPosted: Mon Aug 04, 2008 6:17 pm    Post subject: Re: Creating wrapper for python..
       
On 4 Aug 2008 at 15:11, Anish Chapagain wrote:
Quote:
What will be the best approach for creating wrapper in python language
for the API programmed in C.
so, how feasible will be to use ctype for python..

It should be entirely feasible. Have you tried working through the
tutorial at <http://python.net/crew/theller/ctypes/tutorial.html> ?

Quote:
it is possible in C to create every c file a dll and link with
necessary other one..??

[parse error] Could you explain more clearly what you mean?
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

sprzęt AGD sypialnia Kredyty mieszkaniowe porównanie odżywki artykuły elektryczne