SEESenv/web/html/backup/paragraphlist.py
author amit@thunder
Tue, 02 Mar 2010 17:07:14 +0530
changeset 41 e54725be4df6
parent 2 52d12eb31c30
permissions -rwxr-xr-x
Changed paths dependent on repo location to be taken from the script also changed how the soup is printed

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