SEESenv/web/html/backup/paragraphlist.py
author amit@thunder
Sun, 28 Feb 2010 22:02:15 +0530
changeset 39 bc65d8802897
parent 2 52d12eb31c30
permissions -rwxr-xr-x
Bug fix in myrst .. so that it does not fail at not finding a file

import sys
f=open(sys.argv[1],'r')
pid_list=[]
for i in f.readlines():
    if i.startswith('<p id=') : 
        list_tmp=i.split('"')[1]
        pid_list.append(list_tmp)
print pid_list