2006/3/29, HEMMI, Shigeru <[EMAIL PROTECTED]>:
> I want to use os.chdir.

It's not included in Beta 4, but you can add it easily.

--- IronPython/Modules/nt.cs.orig       2006-03-08 11:11:30.000000000 +0900
+++ IronPython/Modules/nt.cs    2006-03-29 11:48:59.000000000 +0900
@@ -148,2 +148,7 @@

+        [PythonName("chdir")]
+        public static void SetCurrentDirectory(string path) {
+            Directory.SetCurrentDirectory(path);
+        }
+
         [PythonName("listdir")]

Open Src\IronPython\Modules\nt.cs and add chdir function as above and
rebuild. IronPython ReadMe includes instruction to rebuild from the
source.

I'm sure ever great IronPython team will fix this in the next release! :-)

Seo Sanghyeon
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to