I want to put arguments in addHotkey function like this:
def test(args): print args
hot = pyhk.pyhk()
hot.addHotkey(['1'], test, args=[0])
hot.addHotkey(['2'], test, args=[0,1])
hot.addHotkey(['3'], test, args=[0,1,2,])
hot.addHotkey(['4'], test, args=[0,1,2,3])
hot.addHotkey(['5'], test, args=[0,1,2,3,4])
hot.start()
It will help me a lot. thanks.