By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,818 Members | 1,347 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,818 IT Pros & Developers. It's quick & easy.

Using python for dynamic behavior from C++

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.