Re: [C++-sig] [JOB] C/C++/Linux Developers, NYC - Relo OK

2009-04-03 Thread Neal Becker
Beau Gould (OSS) wrote: > I'm recruiting C/C++/Linux Developers for a NYC client. Successful > candidates: ... > * do NOT have financial industry experience Wow, I've never seen _that_ before! What does it suggest?? Are those with financial experience tainted? __

Re: [C++-sig] instantiate python classes in c++

2009-04-03 Thread Gennadiy Rozental
Gregor Burger uibk.ac.at> writes: > is it possible to use boost.python to define classes > in a script (like in the one below), register the defined > classes and later on create instances of the class? Yes > Is it possible to provide the same globals and locals to call_method > so that Flow a

[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

[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

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

2009-04-03 Thread Stefan Seefeld
mad city wrote: 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 exceptio

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

2009-04-03 Thread mad city
Thanks. Good advice. >From the quickstart project, the embedded.cpp file function void exec_file_test(std::string const &script) { std::cout << "running file " << script << "..." << std::endl; // Run a python script in an empty environment. python::dict global; python::object re

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

2009-04-03 Thread troy d. straszheim
mad city wrote: Thanks. Good advice. From the quickstart project, the embedded.cpp file function void exec_file_test(std::string const &script) { std::cout << "running file " << script << "..." << std::endl; // Run a python script in an empty environment. python::dict global;

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

2009-04-03 Thread Stefan Seefeld
mad city wrote: Thanks. Good advice. From the quickstart project, the embedded.cpp file function void exec_file_test(std::string const &script) { std::cout << "running file " << script << "..." << std::endl; // Run a python script in an empty environment. python::dict global;