Re: [C++-sig] embedded python ?

2009-04-03 Thread mad city
__import__ not found. I'm looking into the PyInitialize() and how the interpreter gets loaded. Thanks. On Fri, Apr 3, 2009 at 1:55 PM, Stefan Seefeld wrote: > mad city wrote: > >> Just starting out with boost-python. I have a python script that I want to >> call from C++ code.

[C++-sig] embedded python ?

2009-04-03 Thread mad city
Just starting out with boost-python. I have a python script that I want to call from C++ code. I have the quickstart example working. I'm running into a problem. The python script I'm calling includes import statements - for example 'import os', and these are causing an exception ImportError: __im

[C++-sig] quickstart ?

2009-04-03 Thread mad city
I have just installed boost 1.38. I got the quickstart example to build. 1 - Why does bjam erase the extended.pyd file after running the tests? 2 - What options do I need, or changes to jamroot to prevent bjam from erasing this file? ___ Cplusplu