def myfunc(*args, **kw):
    print('args', args)
print('kw', kw)
myfunc('param')
myfunc(param='param')
myfunc('param', anotherparam='anotherparam')
Is it possible to declare a function without arguments but then pass some arguments to that function without raising exception?