Forums

Error message: function at 0x7f0af01aabf8

Hello

Whenever I create and then try to call function without arguments, I receive an error message.

For example, when I create script with function:

def x_y():
     print('xy')

and then run and try to call it, I receive following message:

<function x_y at 0x7f0af01aabf8>

What's going on, and how can I fix it? I was able to create and call functions without arguments earlier just fine, but it suddenly stopped working. Only workaround for this is using dummy variables, but it will get tedious in time and make code less clear.

Please disregard - I solved the issue. My syntax was wrong when calling functions without variables.