Hi there, I'm a very new Python user and I am using Boa Constructor and Python. Unfortunately I'm having a problem when creating a function.

I have this function:
Code:
def myfunc(kstr , klen):
    ...
    ...
It is called from a button event like this:
Code:
x = myfunc(a , b)
but I get an error saying that "myfunc() takes exactly 2 arguments (3 given)"
...