Welcome to MSDN Blogs Sign in | Join | Help

September 2007 - Posts

After loading the assembly by clr.AddReference and then import namespace, we are ready to take hold of types and down-level namespaces using " attribute references ". >>> import System >>> System.DateTime # type <type 'DateTime'> Read More...
In order to interop with .NET libraries, we need first load in the assemblies we want to play with. The family of AddReference methods in the clr module serves the purpose. clr.AddReference clr.AddReferenceByName clr.AddReferenceByPartialName clr.AddReferenceToFile Read More...
clr is an IronPython built-in module, which provides some functionalities in order to interop with .NET. When writing "import clr" in a python module, it means you intend to leverage the .NET libraries. One classical example is python string's methods. Read More...
 
Page view tracker