File: five_second.py

package info (click to toggle)
python-ruffus 2.8.4-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,468 kB
  • sloc: python: 17,613; makefile: 213; sh: 18
file content (13 lines) | stat: -rwxr-xr-x 264 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python
from time import sleep
import sys

try:
    for i in range(50):
        sleep(1)
        sys.stderr.write("{}\n".format(i))
    sleep(1)
    sys.stderr.write("Done\n")
except:
    sys.stderr.write("Exception!!!!!!!!!!!!!!!!!!!!!\n")
    pass