[IronPython] sys.path.append bug?
JoeSox
joesox at gmail.com
Sat Jun 3 01:50:33 CEST 2006
Please take a look at some IronPython behavior I have observed using
MS C# Express 2005 and IronPython beta7.....
MyClass.cs:....
public static string myapppath = Application.StartupPath;
....
mymethod().....
ipEngine1.Execute("import sys");
ipEngine1.Execute(@"sys.path.append('" + Paths.MiscDirs.myapppath + "')");
======= IronPython creases the string:
+ SyncRoot {['C:\\Documents and Settings\\Administrator\\My
Documents\\Visual Studio
2005\\Projects\\CNU2Demo\\CNU2Demo\x08in\\Debug']} object
{IronPython.Runtime.List}
=======
It appears the "CNU2Demo\x08in\\Debug" should read "CNU2Demo\\bin\\Debug"
Any ideas?
--
Later, Joe
More information about the Ironpython-users
mailing list