Call Python from C++?

Discussion in 'Python' started by JustSomeGuy, Aug 15, 2003.

  1. JustSomeGuy

    JustSomeGuy Guest

    I use to write C++ Apps that called Tcl/Tk from C++.
    I such done with Python?
    JustSomeGuy, Aug 15, 2003
    #1
    1. Advertising

  2. JustSomeGuy

    Rich Holm Guest

    In article <pGY_a.758716$>,
    says...
    > I use to write C++ Apps that called Tcl/Tk from C++.
    > I such done with Python?
    >
    >
    >


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

    There are many examples on the web.

    Cheers,
    Rich
    Rich Holm, Aug 15, 2003
    #2
    1. Advertising

  3. JustSomeGuy wrote:

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


    Try the BOOST library, it has a good interface to python for C++.
    Gerrit van Dyk, Aug 15, 2003
    #3
    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. bill sandner
    Replies:
    1
    Views:
    873
    iksrazal
    Jul 1, 2004
  2. Buu Nguyen

    RMI: remote call or local call

    Buu Nguyen, Sep 9, 2004, in forum: Java
    Replies:
    5
    Views:
    788
    Esmond Pitt
    Sep 17, 2004
  3. hasho

    call by address vs. call by value

    hasho, Feb 10, 2004, in forum: C Programming
    Replies:
    35
    Views:
    2,974
    E. Robert Tisdale
    Feb 11, 2004
  4. system call and library call

    , Aug 22, 2005, in forum: C Programming
    Replies:
    7
    Views:
    3,009
    Jonathan Bartlett
    Aug 23, 2005
  5. ravi
    Replies:
    10
    Views:
    1,148
    Chris Torek
    Feb 23, 2007
Loading...

Share This Page