February 12, 2008 5:30 AM
> To: users@lists.ironpython.com
> Subject: [IronPython] Help with Ops.GetAttr
>
> Hi,
>
> I'm attempting to get an attribute from python object from C# using a
> method like this:
>
> public object GetAttr(object
bject: [IronPython] Help with Ops.GetAttr
Hi,
I'm attempting to get an attribute from python object from C# using a
method like this:
public object GetAttr(object pyObject, string name)
{
ICallerContext context = _pythonEngine.DefaultModule as ICallerContext;
object value = Ops.GetAttr( context
Hi,
I'm attempting to get an attribute from python object from C# using a
method like this:
public object GetAttr(object pyObject, string name)
{
ICallerContext context = _pythonEngine.DefaultModule as ICallerContext;
object value = Ops.GetAttr( context, pyObject,
SymbolTable.StringToId(n