Sign In
Haibo Luo's weblog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
DynamicMethod
IronPython
IronRuby
Miscellaneous
Pages
Reflection
Reflection.Emit
VisualStudio
Archive
Archives
April 2010
(1)
March 2008
(5)
October 2007
(6)
September 2007
(3)
August 2007
(1)
November 2006
(7)
October 2006
(2)
August 2006
(1)
July 2006
(1)
April 2006
(1)
February 2006
(2)
January 2006
(2)
November 2005
(2)
October 2005
(2)
September 2005
(2)
August 2005
(3)
September, 2007
MSDN Blogs
>
Haibo Luo's weblog
>
September, 2007
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Haibo Luo's weblog
IronPython: Grab the .NET Type
Posted
over 5 years ago
by
Haibo Luo - MSFT
0
Comments
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...
Haibo Luo's weblog
IronPython: clr.AddReference
Posted
over 5 years ago
by
Haibo Luo - MSFT
5
Comments
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...
Haibo Luo's weblog
IronPython: import clr
Posted
over 5 years ago
by
Haibo Luo - MSFT
0
Comments
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...
Page 1 of 1 (3 items)