22 Apr
2003
22 Apr
'03
3:43 p.m.
[ Dylan Reinhardt]
I'm not sure if I can explain _all_ of what you're seeing here... you seem to be having a different error than you were before and I don't have any experience with the sping module.
But... do have something to recommend. Use:
def run(self, fileID, lines):
to define your external method.
The first argument passed to an external method is the "self" object, a reference to the context from which the method was called.
Aren't you mixing up Python scripts with External Methods? I have never included a 'self' parameter in any of my external methods and they work just fine. Cheers, Tom P