hierarchyinfo.py 210 Bytes
Newer Older
Raghvendra Mall's avatar
Raghvendra Mall committed
1 2 3 4 5 6 7 8 9 10 11
from string import *;
from math import *
fp=open('out.txt','r');
fout=open('hierarchyinfo.txt','w');
count=0;
for line in fp:
    count=count+1;
count=count-2;
fout.write(str(count));
fp.close();
fout.close();