From: Dana Jansens Date: Sat, 4 Jan 2003 00:21:14 +0000 (+0000) Subject: add some todo shit X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=f5f0a2c2eda2ea8cb3cd5eecbe2b7e459ae5ba2e;p=chaz%2Fopenbox add some todo shit --- diff --git a/src/python.cc b/src/python.cc index e5224921..60c3e012 100644 --- a/src/python.cc +++ b/src/python.cc @@ -352,6 +352,11 @@ void python_init(char *argv0) PyRun_SimpleString("from _otk import *; from _openbox import *;"); PyRun_SimpleString("openbox = Openbox_instance()"); + /* XXX + sys.path.append('stuff') + install the .py wrappers, and include their path with this, then import em + */ + // set up access to the python global variables PyObject *obmodule = PyImport_AddModule("__main__"); obdict = PyModule_GetDict(obmodule);