Call Python from C++?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JustSomeGuy

    Call Python from C++?

    I use to write C++ Apps that called Tcl/Tk from C++.
    I such done with Python?


  • Rich Holm

    #2
    Re: Call Python from C++?

    In article <pGY_a.758716$V i5.17234558@new s1.calgary.shaw .ca>,
    nope@nottelling .com says...[color=blue]
    > I use to write C++ Apps that called Tcl/Tk from C++.
    > I such done with Python?
    >
    >
    >[/color]

    Yes, see the API and the Extending/Embedding guides (part of
    the standard documentation).

    There are many examples on the web.

    Cheers,
    Rich

    Comment

    • Gerrit van Dyk

      #3
      Re: Call Python from C++?

      JustSomeGuy wrote:
      [color=blue]
      > I use to write C++ Apps that called Tcl/Tk from C++.
      > I such done with Python?[/color]

      Try the BOOST library, it has a good interface to python for C++.

      Comment

      Working...