[IronPython] os.chdir - An elementary question.
HEMMI, Shigeru
textdirected at gmail.com
Wed Mar 29 03:41:11 CEST 2006
Hello, I have an elementary question.
I want to use os.chdir.
In IronPython, it seems os.chdir has been disabled:
IronPython 1.0.2258 (Beta) on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import sys
>>> sys.path.append(r'C:\Python24\Lib')
>>> import os
>>> os.chdir(r'C:\tmp')
Traceback (most recent call last):
File , line 0, in input##339
AttributeError: 'module' object has no attribute 'chdir'
>>> os.getcwd()
'C:\\IronPython-1.0-Beta4'
>>>
Let me know any workaround of it.
Thanks in advance.
Regards,
More information about the Ironpython-users
mailing list