X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=m_lib%2Fpbar%2Ftest%2Ftest1.py;fp=m_lib%2Fpbar%2Ftest%2Ftest1.py;h=ed15ce6955f56e94bd62bdc5a4fe346e70895ade;hb=7c6918e8fdb41ac309bc025cddf60145c94fc07e;hp=0000000000000000000000000000000000000000;hpb=83f94736a59fe357b8e50ebfbc548bdafe2ccda5;p=m_lib.git diff --git a/m_lib/pbar/test/test1.py b/m_lib/pbar/test/test1.py new file mode 100755 index 0000000..ed15ce6 --- /dev/null +++ b/m_lib/pbar/test/test1.py @@ -0,0 +1,23 @@ +#! /usr/bin/env python +""" + Test N1 to time file reading +""" + +import sys +from clock import clock + + +def test(): + print "Test: ", + sys.stdout.flush() + + infile = open(sys.argv[1]) + lines = infile.readlines() + infile.close() + + print "Ok" + + +if __name__ == "__main__": + test() + print "Overall time:", clock()