Re: [Python.NET] accessing .net dlls from python

2006-03-29 Thread Hernan Martinez Foffani
>> import CLR >> from CLR.System.Reflection import Assembly >> >> my_dll_name = Assembly.LoadWithPartialName( path to dll that does >> not include .dll extension ) >> >> #import namespaces >> from CLR import TopNamespace > > 1. Installing Python for .NET as a standalone, and using it in the > i

Re: [Python.NET] accessing .net dlls from python

2006-03-29 Thread Ivan Uemlianin
Ivan Uemlianin wrote: >Roman Yakovenko wrote: > > > >>On 3/28/06, ivan Uemlianin <[EMAIL PROTECTED]> wrote: >> >> >> >> >>>Is there a litle bit extra I need to do, or am I barking up the wrong >>>tree? I suppose I'm looking for something that will allow me to import >>>.net dlls as if they

Re: [Python.NET] accessing .net dlls from python

2006-03-29 Thread Roman Yakovenko
On 3/29/06, Lalit DIGARI <[EMAIL PROTECTED]> wrote: > Hi Roman , Please write to the Python.Net mailing list, so other people can help you too. > I did the following step > import CLR > from CLR.System.Reflection import Assembly > > my_dll_name = Assembly.LoadWithPartialName('VPCILight') > > fro

Re: [Python.NET] accessing .net dlls from python

2006-03-29 Thread Ivan Uemlianin
Roman Yakovenko wrote: >On 3/28/06, ivan Uemlianin <[EMAIL PROTECTED]> wrote: > > >>Is there a litle bit extra I need to do, or am I barking up the wrong >>tree? I suppose I'm looking for something that will allow me to import >>.net dlls as if they were python modules. >> >> > >I could be

Re: [Python.NET] accessing .net dlls from python

2006-03-28 Thread Roman Yakovenko
On 3/29/06, Lalit DIGARI <[EMAIL PROTECTED]> wrote: > Hello, > I have a dll named vp and I want to use it into python script dll has some > exposed function for example fn1() I did following steps in python > > import CLR > from CLR.System.Reflection import Assembly > > my_dll_name = Assembly.L

Re: [Python.NET] accessing .net dlls from python

2006-03-28 Thread Hernan Martinez Foffani
> I'm interested in accessing .net dlls from python (e.g. to write test > scripts). Is pythonnet the correct software to use? Yes. > I have had a go. I have installed pythonnet and tested it with some > of the code samples: all well. Putting a .net dll called foo.dll in > the current directory

Re: [Python.NET] accessing .net dlls from python

2006-03-28 Thread Roman Yakovenko
On 3/28/06, ivan Uemlianin <[EMAIL PROTECTED]> wrote: > Dear All > > I'm interested in accessing .net dlls from python (e.g. to write test > scripts). Is pythonnet the correct software to use? Definitely. > I have had a go. I have installed pythonnet and tested it with some of > the code sample

[Python.NET] accessing .net dlls from python

2006-03-28 Thread ivan Uemlianin
Dear All I'm interested in accessing .net dlls from python (e.g. to write test scripts). Is pythonnet the correct software to use? I have had a go. I have installed pythonnet and tested it with some of the code samples: all well. Putting a .net dll called foo.dll in the current directory, '