#!/usr/bin/env python """This script helps you celebrate momentous Unix timestamps. Inspired by this, received in email: Unix time is measured in seconds since January 1, 1970 00:00 UT. This afternoon, Friday, Feb 13, 2009 at 23:31:30 GMT or 5:31:30 PM unix time will be 1234567890. For those who'd like to relish the moment, type "date +%s" at any unix prompt as the moment approaches and passes. """ import sys import time def main(): while 1: timestamp = str(int(time.time())) sys.stdout.write("\r%s" % timestamp) sys.stdout.flush() time.sleep(0.1) if __name__ == '__main__': try: main() except KeyboardInterrupt: print