Thanks to the suggestions of 'DogWalker' Ive gotten the ActiveScript engine
for Python cooking, but its behavior is a little different it seems from
other languages and how they handle objects extended to the script.

It seems no matter what object that I extend to the script, it wont
'recognize' it. That is to say that im getting a 'AttributeError: 'NoneType'
object has no attribute 'subItems' error. I looked this up, and its
apparently python thinking i defined this object in the script and telling
me it doesnt have any members yet.

Im extending all objects using  : oScripting.AddObject("Graphics",
oGraphics)
Where oScripting is an MSScriptControl. The error will occur on any call of
any method of 'Graphics.XXX' the 'Graphics' object.

Please advise!

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to