Re: [IronPython] Need help using IronPython from C#

2006-08-12 Thread Jason Ferrara
On Aug 11, 2006, at 5:32 PM, Dino Viehland wrote: You're quickly getting into the guts of the runtime, so you'll find most of what you want over in Ops. To get an attribute off of an object you can do TryGetAttr(object o, SymbolId name, out object ret). o would be your ls, SymbolId's

Re: [IronPython] Need help using IronPython from C#

2006-08-11 Thread Jason Ferrara
On Aug 11, 2006, at 3:53 PM, Dino Viehland wrote: If you really do want to get a delegate to a Python function that came from a module you might want to look at Ops.GetDelegate. If you were to create a module, execute its contents, and then get the method back out by name as an

Re: [IronPython] Need help using IronPython from C#

2006-08-11 Thread Dino Viehland
then you can do whatever you want w/ the value from there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Ferrara Sent: Friday, August 11, 2006 1:29 PM To: Discussion of IronPython Subject: Re: [IronPython] Need help using IronPython from C# On Aug 11