DIGIT-ARC read-only archive · snapshot: July 23, 2026

Request for embedding python in C/C++ tutorial!!!

3 posts · originally from https://geek.digit.in/community/threads/request-for-embedding-python-in-c-c-tutorial.160100/

X
Xk0nSid Original post #1
Jul 14, 2012 at 7:55 PM
Hey guys i'm an intermediate C/C++ & python programmer.I want to take my skills to the next level i've looking all over the web for good python embedding tutorial but had no luck with it. Can someone please share an embedding tutorial using something like swig. I really want to use the power of python in my C/C++ programs.
Thanks in advance.
D
daemon #2
Jul 18, 2012 at 10:07 PM
@Xk0nSid If you want to do embedded programming in C++ only , there is very nice small book by scott meyers Scott Meyers: Effective C++ in an Embedded Environment
X
Xk0nSid #3
Jul 23, 2012 at 8:49 PM
Thanks daemon, annahussy for reply but the book is about c++ in embedded environment but guys i'm looking for embedding python code in c++. These two are different topics. I am not looking for embedded programing with c++ instead i want to write application and use power of python by embedding pyhton in my application code. It can be done using tools like boost library or swig c/c++ interface. But i'm not able to find very good tutorials on web. If you guys have an idea of where to find information about that, it'll be really helpfull.
Anyways Thanks for the reply.