[Zope] Change current path in External Method
Jo Meder
jo@meder.de
Sat, 28 Dec 2002 14:38:25 +0100
Am 28.12.2002, 14:25 Uhr
schräb Klimovich Alexander <klima@belsoft.by>:
> Can anyone tell me how to change system current folder using
> python methods?
Actually the best source for questions like this is <gasp> the python
documentation: http://www.python.org/doc/
> E.g. 'os.getcwd()' returns current folder,
> I need function like 'os.setcwd(path)'?
How about os.chdir(path)?
See http://www.python.org/doc/current/lib/lib.html and in this case
especially http://www.python.org/doc/current/lib/os-file-dir.html
Jo.
--
Internetmanufaktur Jo Meder ---------------------- Berlin, Germany
http://www.meder.de/ ------------------- fon: ++49-30-417 17 63 33
Kollwitzstr. 75 ------------------------ fax: ++49-30-417 17 63 45
10435 Berlin --------------------------- mob: ++49-170- 2 98 89 97
Public GnuPG-Key ---------- http://www.meder.de/keys/jo-pubkey.txt