]> git.phdru.name Git - m_lib.git/blob - m_lib/pbar/test/test1.py
ed15ce6955f56e94bd62bdc5a4fe346e70895ade
[m_lib.git] / m_lib / pbar / test / test1.py
1 #! /usr/bin/env python
2 """
3    Test N1 to time file reading
4 """
5
6 import sys
7 from clock import clock
8
9
10 def test():
11    print "Test: ",
12    sys.stdout.flush()
13
14    infile = open(sys.argv[1])
15    lines = infile.readlines()
16    infile.close()
17
18    print "Ok"
19
20
21 if __name__ == "__main__":
22    test()
23    print "Overall time:", clock()