Tagged Questions

2
votes
1answer
39 views

Building Boost Python Debug

I am definitely not a bjam expert, so pardon my ignorance if it's something really stupid. I am trying to build a debug version of boost::python using this tutorial. I have built Python 3.3.0 in my ...
3
votes
0answers
355 views

Boost-Python: crash when executing script from file

When my console application tries to execute boost::python::exec_file() it hangs for a second and then crashes. It can execute the boost::python::exec without problems. I tried not using then boost ...
1
vote
1answer
324 views

Extending embedded Python in C++ - Design to interact with C++ instances

There are several packages out there that help in automating the task of writing bindings between C\C++ and other languages. In my case, I'd like to bind Python, some options for such packages are: ...
0
votes
1answer
314 views

Embedded Python loads module but does not load that module's internal import statements

At long last(!) I've compiled Boost::Python and have gotten my XCode project to import a local module. This module starts with the line from xml.dom import minidom, but when it executes, I'm given ...
5
votes
4answers
1k views

Is it possible to modify PYTHONPATH at runtime?

I have a C++ application dynamically linked to the Python interpreter. I want to be able to import python modules from a particular directory. I want to modify the PYTHONPATH for my process so that ...