Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Call Python from C++? (http://www.velocityreviews.com/forums/t321038-call-python-from-c.html)

JustSomeGuy 08-15-2003 03:44 AM

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



Rich Holm 08-15-2003 05:12 AM

Re: Call Python from C++?
 
In article <pGY_a.758716$Vi5.17234558@news1.calgary.shaw.ca >,
nope@nottelling.com 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

Gerrit van Dyk 08-15-2003 06:02 AM

Re: Call Python from C++?
 
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++.


All times are GMT. The time now is 06:39 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57