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:
It is called from a button event like this:
but I get an error saying that "myfunc() takes exactly 2 arguments (3 given)"
I have no idea what is wrong, since as far as I can see I'm passing the correct number of arguments to the function.
Could anyone help please?
Regards
Max
I have this function:
Code:
def myfunc(kstr , klen): ... ...
Code:
x = myfunc(a , b)
I have no idea what is wrong, since as far as I can see I'm passing the correct number of arguments to the function.
Could anyone help please?
Regards
Max
Comment