|
Thanks Pierre. I'll go ahead
and work from there!
-Caolan From: [EMAIL PROTECTED] on behalf of Pierre Zeeman Sent: Mon 9/4/2006 12:12 AM To: [email protected] Subject: Re: [Python.NET] Newbie question: Howto include .NET DLL in Pythincode. From the samples:
import CLR.System.Windows.Forms as WinForms
If you need to import your own, it’s just CLR.<namespace>.<etc>.
I use py2exe a lot and found it necessary to add an “import CLR” statement as well, so:
import CLR import CLR.System.Windows.Forms as WinForms
would be my standard way of including Forms.
Hth,
Pierre
-----Original
Message-----
Hello,
I am in need of including in some Python code the namespace and classes in a .NET C# DLL. Can anyone please give me a quick snippet that will demonstrate how to do this?
Thanks!
-Caolan O'Domhnaill |
_________________________________________________ Python.NET mailing list - [email protected] http://mail.python.org/mailman/listinfo/pythondotnet
