Java Timer Function In Python Examples