[IronPython] Question about IronPython tools for Visual Studio

2010-06-07 Thread Ashley Abraham
I am trying to use IronPython tools for Visual Studio and didn't know to how to start the IronPython Interactive console window with extra parameters, such as: -X:Frames, so that I can import numpy (along with ironclad). Thanks Ash ___ Users mailing list

Re: [IronPython] Ironpython attribute validation

2010-06-07 Thread Ashley Abraham
Thanks, I'll try your suggestion. Ash On Mon, Jun 7, 2010 at 1:04 PM, Jeff Hardy wrote: > On Mon, Jun 7, 2010 at 11:33 AM, Ashley Abraham > wrote: > > is there any other module similar to Traits in IronPython which I can use > to > > explicitly declare the attributes

Re: [IronPython] Ironpython attribute validation

2010-06-07 Thread Ashley Abraham
is there any other module similar to Traits in IronPython which I can use to explicitly declare the attributes and to do type validation?? Thanks Ash On Mon, Jun 7, 2010 at 11:49 AM, Jeff Hardy wrote: > On Mon, Jun 7, 2010 at 10:41 AM, Ashley Abraham > wrote: > > Hi, > >

Re: [IronPython] how to convert C# MarshalAs code to IronPython

2010-06-07 Thread Ashley Abraham
I'll try the ctypes... thanks for pointing me in the right direction and your help is much appreciated. Ash On Mon, Jun 7, 2010 at 10:02 AM, Jeff Hardy wrote: > On Sun, Jun 6, 2010 at 8:20 PM, Ashley Abraham > wrote: > > Jeff, > > I think I miss read your reply,

[IronPython] Ironpython attribute validation

2010-06-07 Thread Ashley Abraham
Hi, In Python I am used to using enthought's Traits to validate attributes and explicitly declare variable types, is there anything similar to that in IronPython. Also, when I try to import enthought's traits module (with ironclad) in IronPython I get ImportError: No module named zipimport is th

Re: [IronPython] how to convert C# MarshalAs code to IronPython

2010-06-06 Thread Ashley Abraham
Jeff, I think I miss read your reply, what you are saying is that if it based on ctypes it will work in IronPython as well is it?? I thought you needed IronClad and so on make it work. Thanks Ash On Sun, Jun 6, 2010 at 9:13 PM, Ashley Abraham wrote: > Our current app is Python based an

Re: [IronPython] how to convert C# MarshalAs code to IronPython

2010-06-06 Thread Ashley Abraham
post/email to IronPython code??? Thanks Ash On Sun, Jun 6, 2010 at 9:07 PM, Jeff Hardy wrote: > On Sun, Jun 6, 2010 at 1:15 PM, Ashley Abraham > wrote: > > Is it a good approach to use clrtype.py or is there a better way to call > the > > C function from IronPython... >

Re: [IronPython] how to convert C# MarshalAs code to IronPython

2010-06-06 Thread Ashley Abraham
hod directly. > > > Is there a typo in the C# code? It looks like SizeParamIndex should be 1 > and not 10. > > On Sat, Jun 5, 2010 at 10:57 PM, Ashley Abraham wrote: > >> Hi, >> I have the following C# code and I am trying to do the same >> functionality in I

[IronPython] how to convert C# MarshalAs code to IronPython

2010-06-05 Thread Ashley Abraham
Hi, I have the following C# code and I am trying to do the same functionality in IronPython, any help is appreciated. I was trying to do the same functionality in IronPython using the clrtype.py from the IronPython-2.6-Samples and I am able to connect to the library and the function but I am h