python/tpygame.py: added small python script to test pygame event generation