#!/usr/bin/env python import sys, time for line in open(sys.argv[1], 'r'): time.sleep(2) print line