Re: Is there a way to use .NET DLL from Python

2008-02-15 Thread Luis M. González
On Feb 14, 6:26 pm, Fuzzyman <[EMAIL PROTECTED]> wrote: > On Feb 13, 6:58 pm, "Luis M. González" <[EMAIL PROTECTED]> wrote: > > > > > On 13 feb, 00:26, Dino Viehland <[EMAIL PROTECTED]> wrote: > > > > >> Oh, I know what you mean. > > > >> But that was exactly the reason for having a .DLLs folder, i

Re: Is there a way to use .NET DLL from Python

2008-02-14 Thread Fuzzyman
On Feb 13, 6:58 pm, "Luis M. González" <[EMAIL PROTECTED]> wrote: > On 13 feb, 00:26, Dino Viehland <[EMAIL PROTECTED]> wrote: > > > >> Oh, I know what you mean. > > >> But that was exactly the reason for having a .DLLs folder, isn't it? > > >> When you place an assembly into this folder, you avoid

Re: Is there a way to use .NET DLL from Python

2008-02-13 Thread Luis M. González
On 13 feb, 00:26, Dino Viehland <[EMAIL PROTECTED]> wrote: > >> Oh, I know what you mean. > >> But that was exactly the reason for having a .DLLs folder, isn't it? > >> When you place an assembly into this folder, you avoid having to write > >> this boilerplate code, and simply import the assembly

RE: Is there a way to use .NET DLL from Python

2008-02-12 Thread Dino Viehland
>> >> Oh, I know what you mean. >> But that was exactly the reason for having a .DLLs folder, isn't it? >> When you place an assembly into this folder, you avoid having to write >> this boilerplate code, and simply import the assembly as you would >> with a normal python module. At least, that´s ho

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Fuzzyman
On Feb 7, 9:38 pm, Huayang Xia <[EMAIL PROTECTED]> wrote: > On Feb 7, 3:30 pm, Fuzzyman <[EMAIL PROTECTED]> wrote: > > > > > On Feb 7, 2:35 pm, "Luis M. González" <[EMAIL PROTECTED]> wrote: > > > > On 7 feb, 05:52, Fuzzyman <[EMAIL PROTECTED]> wrote: > > > > > Luis M. González wrote: > > > > > On 6

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Huayang Xia
On Feb 7, 3:30 pm, Fuzzyman <[EMAIL PROTECTED]> wrote: > On Feb 7, 2:35 pm, "Luis M. González" <[EMAIL PROTECTED]> wrote: > > > > > On 7 feb, 05:52, Fuzzyman <[EMAIL PROTECTED]> wrote: > > > > Luis M. González wrote: > > > > On 6 feb, 21:17, Fuzzyman <[EMAIL PROTECTED]> wrote: > > > > > On Feb 6, 9

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Fuzzyman
On Feb 7, 2:35 pm, "Luis M. González" <[EMAIL PROTECTED]> wrote: > On 7 feb, 05:52, Fuzzyman <[EMAIL PROTECTED]> wrote: > > > > > Luis M. González wrote: > > > On 6 feb, 21:17, Fuzzyman <[EMAIL PROTECTED]> wrote: > > > > On Feb 6, 9:59 pm, "Luis M. Gonz�lez" <[EMAIL PROTECTED]> wrote: > > > > > > O

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Christian Heimes
Huayang Xia wrote: > What's the difference between .NET DLL and normal C DLL? Do you mean > after clr.AddReference('ClassLibrary1'), there is no need to import > ClassLibrary1? A normal DLL and an assembly DLL share only the header. The rest is totally different. You can see the DLL as a container

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Huayang Xia
What's the difference between .NET DLL and normal C DLL? Do you mean after clr.AddReference('ClassLibrary1'), there is no need to import ClassLibrary1? -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Christian Heimes
Luis M. González wrote: > Oh, I know what you mean. > But that was exactly the reason for having a .DLLs folder, isn't it? > When you place an assembly into this folder, you avoid having to write > this boilerplate code, and simply import the assembly as you would > with a normal python module. At

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Luis M. González
On 7 feb, 05:52, Fuzzyman <[EMAIL PROTECTED]> wrote: > Luis M. González wrote: > > On 6 feb, 21:17, Fuzzyman <[EMAIL PROTECTED]> wrote: > > > On Feb 6, 9:59 pm, "Luis M. Gonz�lez" <[EMAIL PROTECTED]> wrote: > > > > > On Feb 6, 6:27 pm, Huayang Xia <[EMAIL PROTECTED]> wrote: > > > > > > Hello All, >

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Fuzzyman
Luis M. González wrote: > On 6 feb, 21:17, Fuzzyman <[EMAIL PROTECTED]> wrote: > > On Feb 6, 9:59 pm, "Luis M. Gonz�lez" <[EMAIL PROTECTED]> wrote: > > > > > On Feb 6, 6:27 pm, Huayang Xia <[EMAIL PROTECTED]> wrote: > > > > > > Hello All, > > > > > > I have several .NET DLL (I have no source code

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Luis M. González
On 6 feb, 21:17, Fuzzyman <[EMAIL PROTECTED]> wrote: > On Feb 6, 9:59 pm, "Luis M. González" <[EMAIL PROTECTED]> wrote: > > > On Feb 6, 6:27 pm, Huayang Xia <[EMAIL PROTECTED]> wrote: > > > > Hello All, > > > > I have several .NET DLL (I have no source code for them), is there > > > anyway to use t

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Fuzzyman
On Feb 6, 9:59 pm, "Luis M. González" <[EMAIL PROTECTED]> wrote: > On Feb 6, 6:27 pm, Huayang Xia <[EMAIL PROTECTED]> wrote: > > > Hello All, > > > I have several .NET DLL (I have no source code for them), is there > > anyway to use them from python instead of from C#. > > > Thanks, > > Huayang > >

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Fuzzyman
On Feb 6, 9:27 pm, Huayang Xia <[EMAIL PROTECTED]> wrote: > Hello All, > > I have several .NET DLL (I have no source code for them), is there > anyway to use them from python instead of from C#. > > Thanks, > Huayang To access .NET types you either need to use IronPython or Python.NET. .NET assemb

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Christian Heimes
Huayang Xia wrote: > Is there anyway to import class (to generate objects) from .NET DLL? You can use PythonDotNET if you want to access .NET assemblies in CPython (the standard Python implementation written in C). Christian -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Gabriel Genellina
Huayang Xia wrote: >> I have several .NET DLL (I have no source code for them), is there >> anyway to use them from python instead of from C#. En Wed, 06 Feb 2008 19:37:02 -0200, Shane Geiger <[EMAIL PROTECTED]> escribió: > Calling DLL functions from Python > (http://aspn.activestate.com/ASPN

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Huayang Xia
Or maybe we can do it in IronPython? -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Huayang Xia
On Feb 6, 4:59 pm, "Luis M. González" <[EMAIL PROTECTED]> wrote: > On Feb 6, 6:27 pm, Huayang Xia <[EMAIL PROTECTED]> wrote: > > > Hello All, > > > I have several .NET DLL (I have no source code for them), is there > > anyway to use them from python instead of from C#. > > > Thanks, > > Huayang > >

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Luis M. González
On Feb 6, 6:27 pm, Huayang Xia <[EMAIL PROTECTED]> wrote: > Hello All, > > I have several .NET DLL (I have no source code for them), is there > anyway to use them from python instead of from C#. > > Thanks, > Huayang I used to put my .dll files into the .DLL folder, so I could simply import them a

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Shane Geiger
The following links *may* put you on the right path: Calling DLL functions from Python ( http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146847 ), a fairly complete description with some helper class code. Another example ( http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/181063 )

Is there a way to use .NET DLL from Python

2008-02-06 Thread Huayang Xia
Hello All, I have several .NET DLL (I have no source code for them), is there anyway to use them from python instead of from C#. Thanks, Huayang -- http://mail.python.org/mailman/listinfo/python-list