It's just a demonstration of Python's ease of use, I suppose. The lack of MouseKeyboard support in Python Scripting (or lack of documentation for using it there) makes things a lot harder.
Still, I think I would recommend to DravenX that he use the traditional GM method - 'hspeed' and 'vspeed' private variables controlled by keyboard inputs to create smooth movement. (It's hard to explain. Just remember "horizontal speed" and "vertical speed" and you'll be able to figure it out.)