On 4/14/07, Thane Plummer <[EMAIL PROTECTED]> wrote:
One problem with A) lies in the ambiguity of the contents of site.py -- portability issues could be large. Also, remember that site.py was implemented as a solution to give IronPython access to the standard libs. This may change at some point and solution A) could be deprecated.
This makes sense. It was a real newb question; the idea of importing
something twice under different names (clr) made me wonder, and that's why I asked. Plus, I'm trying to get my arms around the whole dotNet thing. The automatically generated code out of Visual Studio for C# and VB.NET can be pretty ornate - things aren't always intuitive from the code.
Again, thanks. 2007/4/14, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Which is most correct and why? > > A) >>> site.clr.AddReference(<reference name>) > B) >>> import clr. > >>> clr.AddReference > C) neither B is correct.
_______________________________________________ users mailing list [EMAIL PROTECTED] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
