From f5f0a2c2eda2ea8cb3cd5eecbe2b7e459ae5ba2e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 4 Jan 2003 00:21:14 +0000 Subject: [PATCH] add some todo shit --- src/python.cc | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.45.2