
July 5, 2005
12:07 p.m.
Gerald Klix schrieb:
für paranoiker gibts noch: sys.path.insert( 0, os.path.join( os.getcwd, "classes" ) )
Scheidert, wenn das CWD sonstwo ist. Tipp: Modul 'inspect'
Einfacher wäre doch sys.path.insert( 0, os.path.join( __file__, "classes" ) ) ? Gruß, Karl.
-- Schönen Gruß - Regards Hartmut Goebel
| Hartmut Goebel | IT-Security -- effizient | | h.goebel@goebel-consult.de | www.goebel-consult.de |
_______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de
_______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de