Boost logo

Boost Users :

Subject: Re: [Boost-users] [python] Adding a path to sys.path
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-10-08 16:10:31

I tried the following code below as an alternative and it still does not

            using namespace boost::python;

            object sys( import( "sys" ) );
            dict sysdict( sys.attr( "__dict__" ) );
            list syspath( sysdict["path"] );
            syspath.append( "C:\mypath" );

I could really use some help!

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at