newbie to SWIG/Python

Discussion in 'Python' started by Vasya, Apr 10, 2006.

  1. Vasya

    Vasya Guest

    Hello,

    I have an API represented in a C header file. I ran SWIG over
    this hedaer fiel and generated a .py (python file) and a .c. If I write
    a Python script against this API how do I "link" the Python script with
    the SWIG-generated files??

    Thanks, Vasili
     
    Vasya, Apr 10, 2006
    #1
    1. Advertising

  2. Vasya wrote:

    > Hello,
    >
    > I have an API represented in a C header file. I ran SWIG over
    > this hedaer fiel and generated a .py (python file) and a .c. If I write
    > a Python script against this API how do I "link" the Python script with
    > the SWIG-generated files??
    >
    > Thanks, Vasili
    >


    http://www.swig.org/Doc1.3/SWIGDocumentation.html#Python

    --
    Steve Juranich
    Tucson, AZ
    USA
     
    Steve Juranich, Apr 10, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rick Olson
    Replies:
    0
    Views:
    459
    Rick Olson
    Jan 9, 2004
  2. Brent W. Hughes

    Newbie: SWIG or SIP?

    Brent W. Hughes, Feb 9, 2005, in forum: Python
    Replies:
    6
    Views:
    526
    Grant Edwards
    Feb 10, 2005
  3. Jeff
    Replies:
    0
    Views:
    772
  4. whatazor

    newbie swig c++ to python

    whatazor, Oct 7, 2007, in forum: Python
    Replies:
    1
    Views:
    725
    whatazor
    Oct 7, 2007
  5. Keith Sabine
    Replies:
    0
    Views:
    594
    Keith Sabine
    Jun 6, 2008
Loading...

Share This Page