Boost logo

Boost Users :

Subject: [Boost-users] [python] Defining a variable
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-09-24 18:38:57


Hi,

I'm embedding python through Boost.Python. Before I "import" or "exec" a
specific PY file, I want to set a global variable in that script that the
user will be able to access when the script is finally executed or imported.
How would I do this?



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