2007-05-05, 19:12
A little question: i know how to modify the environment vars using os.environ, but i need to modify PYTHONPATH to add a modules directory for PySH and xTerm and doing it with python is of nosense since PYTHONPATH must be changed before python is launched to get it working (i have spend two days using os.environ until i learn this), so where is stored XBMC system environments so i can modify them using and install script? I want to put the library and apps modules inside a lib/ and bin/ directories because have all the python scripts at the XUT root dir seems very ugly and not profesional...
It's strange: i was getting surprised with python because it's the only one language that has let me program in my very own crazy personal style, and now i get problems with something so simple and stupid as import a script from outside the default modules directory...
It's strange: i was getting surprised with python because it's the only one language that has let me program in my very own crazy personal style, and now i get problems with something so simple and stupid as import a script from outside the default modules directory...