471,334 Members | 1,550 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,334 software developers and data experts.

Using python for dynamic behavior from C++

Hi all,

I am looking into using Python to introduce dynamic behavior in my
C++, e.g. something like a simulation where objects can interact with
eachother. I know Python can be called from C++, but is it possible to
call a binary compiled Python file / array from C++ ? The reason I ask
is that if my objects call a script every tick to do something, I
would not like to let the python interpreter recompile the same code
over and over again.

Any pointers to how I can do that?

Regards,
- Jorgen
Aug 15 '07 #1
0 719

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

220 posts views Thread by Brandon J. Van Every | last post: by
467 posts views Thread by mike420 | last post: by
134 posts views Thread by Joseph Garvin | last post: by
27 posts views Thread by hacker1017 | last post: by
7 posts views Thread by p_shakil | last post: by
reply views Thread by Kurt B. Kaiser | last post: by
53 posts views Thread by Vicent Giner | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.