Python C API question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gabriele *darkbard* Farina

    #1

    Python C API question

    Hi,

    I'm a newbie in python extension development, and I'd like to ask you a
    simple question. I have to implement a simple estension that parses a
    source file and returns an xml.dom.minidom .Document instance. I'd like
    to know how can I import and then manage xml.dom.minidom .* objects
    using Python C API.

    thanks,
    Gabriele

  • Steve Juranich

    #2
    Re: Python C API question

    Gabriele *darkbard* Farina wrote:
    [color=blue]
    > Hi,
    >
    > I'm a newbie in python extension development, and I'd like to ask you a
    > simple question. I have to implement a simple estension that parses a
    > source file and returns an xml.dom.minidom .Document instance. I'd like
    > to know how can I import and then manage xml.dom.minidom .* objects
    > using Python C API.
    >
    > thanks,
    > Gabriele
    >[/color]

    Have you looked at the PyImport_* functions?

    --
    Steve Juranich
    Tucson, AZ
    USA

    Comment

    • Gabriele *darkbard* Farina

      #3
      Re: Python C API question

      It seems to be what I need. Thank you!

      Comment

      Working...