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
work:

            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 hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net