Re: [IronPython] Hello,

2009-11-13 Thread luis bilar
Tks the best. 2009/11/13 Carl Trachte > On 11/13/09, luis bilar wrote: > > Hi, > > > > I need implematation this's code in ironpython > > > > from pytesser import* > > image = Image.open('fnord.tf') > > print image_to_string(image) > > > > but need call libary pytesser. > > > > please help me :

Re: [IronPython] Hello,

2009-11-13 Thread Carl Trachte
On 11/13/09, luis bilar wrote: > Hi, > > I need implematation this's code in ironpython > > from pytesser import* > image = Image.open('fnord.tf') > print image_to_string(image) > > but need call libary pytesser. > > please help me :( Luis, OK, you're in the wrong place (on the wrong list). You

Re: [IronPython] .NET attributes for methods

2009-11-13 Thread Lukas Cenovsky
Thanks to Shri and the new clrtype both issues are resolved. I will post details soon on my blog. -- -- Lukáš Lukas Cenovsky wrote: Help with getting properties to work will hopefully resolve the databinding as well ;-) The property getter looks wrong but I have no idea what's wrong: py> pr

Re: [IronPython] Hello,

2009-11-13 Thread luis bilar
Hi, I need implematation this's code in ironpython from pytesser import* image = Image.open('fnord.tf') print image_to_string(image) but need call libary pytesser. please help me :( 2009/11/13 Carl Trachte > On 11/13/09, luis bilar wrote: > > Hi > > My names is Luis Bilar , I'm from brazil,

Re: [IronPython] Hello,

2009-11-13 Thread Carl Trachte
On 11/13/09, luis bilar wrote: > Hi > My names is Luis Bilar , I'm from brazil, I have a problem, with I call > libary in ironpython ? > > -- > Thanks & Regards, > Luis Bilar > +55 85036522 > > System technology internet > Specialist in information security - > Recife Center for Advanced Studies a

[IronPython] Hello,

2009-11-13 Thread luis bilar
Hi My names is Luis Bilar , I'm from brazil, I have a problem, with I call libary in ironpython ? -- Thanks & Regards, Luis Bilar +55 85036522 System technology internet Specialist in information security - Recife Center for Advanced Studies and Systems - CESAR.EDU "The information in this e-ma

Re: [IronPython] DLR Hosting, IronPython Engine shutdown issues

2009-11-13 Thread matan keret
OK thank you for the fast reply! On Fri, Nov 13, 2009 at 7:23 PM, Dino Viehland wrote: > pyEngine.Runtime.Shutdown() is the equivalent. As far as Python is > concerned the only interesting thing this does is run sys.exitfunc if it’s > been set - there’s some other stuff that happens but it’s l

Re: [IronPython] DLR Hosting, IronPython Engine shutdown issues

2009-11-13 Thread Dino Viehland
pyEngine.Runtime.Shutdown() is the equivalent. As far as Python is concerned the only interesting thing this does is run sys.exitfunc if it's been set - there's some other stuff that happens but it's logging and some cleanup which will happen on its own. So there's no need to really call a Dis

Re: [IronPython] .NET attributes for methods

2009-11-13 Thread Lukas Cenovsky
Help with getting properties to work will hopefully resolve the databinding as well ;-) The property getter looks wrong but I have no idea what's wrong: py> props = a.root.listbox1.Items[0].GetType().GetProperties() py> props => Array[PropertyInfo](()) py> prop = props[0] py> prop.GetGetMethod(

Re: [IronPython] .NET attributes for methods

2009-11-13 Thread Shri Borde
I can help you create a property. And I can help you get it to work with your decorators (you can check if the "name" property exposes your @notify_property wrapper methods or not, and presumably that works). Beyond that, you are on your own :) I would try calling the property methods to make s

Re: [IronPython] .NET attributes for methods

2009-11-13 Thread Lukas Cenovsky
I also tested creating interfaces and it fails with the exception below. Does this mean it will not be possible to use IronPython interface in Silverlight because of AppDomain? -- -- Lukáš SystemError: Application code cannot access System.AppDomain.get_CurrentDomain() using Reflection.

[IronPython] DLR Hosting, IronPython Engine shutdown issues

2009-11-13 Thread matan keret
Hi everyone, In the old IronPython hosting API there used to be a simple pyEngine.Shutdown() command. And then for cleanup we used: pyEngine.Dispose() What is the equivalent in the new hosting API's? (am using IronPython 2.0.3) I found that there is something like: pyEngine.Runtime.Shutdown(); D

Re: [IronPython] .NET attributes for methods

2009-11-13 Thread Lukas Cenovsky
This looks very promising but I cannot make it work. I have changed product.py in DevHawk's example to: #from clrtypeold import ClrMetaclass import clrtype class Product(object): #__metaclass__ = ClrMetaclass __metaclass__ = clrtype.ClrClass _clrnamespace = "DevHawk.IronPython.ClrTypeSeries"

Re: [IronPython] n-dimensional array

2009-11-13 Thread Michael Foord
Aravin wrote: Hello everyone, I’m developing an application for my research project. I’m using IronPython as a scripting engine to allow easy data manipulation like Matlab. I require a high performance n-dimensional array class. Does anyone know of any .net library which provides a powerful

[IronPython] n-dimensional array

2009-11-13 Thread Aravin
Hello everyone, I'm developing an application for my research project. I'm using IronPython as a scripting engine to allow easy data manipulation like Matlab. I require a high performance n-dimensional array class. Does anyone know of any .net library which provides a powerful n-dimensional arr

Re: [IronPython] IPY and multitasking

2009-11-13 Thread Pavel Suhotyuk
I'm prepare simple test for problem demonstration. http://files.roinet.net/DLRTest.zip Module utils imported 6-7 times on 2x Dual-Core Opteron 2216 machine, but method IronPythonHelper.CreateScript() called one time. On Core 2 Quad this problem has detected 4 times. On Core 2 Duo problem has n