In python code that is will be like
import sys, time a = 15 while a > 0 : sys.stdout.write(\'{:2}\\r\'.format(a)) sys.stdout.flush() time.sleep (1)