trunkfile.py
Go to the documentation of this file.
1 #!/usr/bin/python
2 
3 fd = file('refman.tex','r')
4 fd2 = file('filelist.tex','w')
5 
6 line = fd.readline()
7 while line.find('Module Index') < 0:
8  line = fd.readline()
9 
10 fd2.write(line)
11 line=fd.readline()
12 
13 while line.find('printindex') < 0:
14  fd2.write(line)
15  line=fd.readline()
16 
17 fd.close()
18 fd2.close()


kni
Author(s): Martin Günther
autogenerated on Fri Jan 3 2020 04:01:17