Python IdleRPG implementation