web/html/paragraphlist.py~
changeset 1 672eaaab9204
parent 0 8083d21c0020
child 2 52d12eb31c30
equal deleted inserted replaced
0:8083d21c0020 1:672eaaab9204
     1 f=open('abc.html','r')
       
     2 pid_list=[]
       
     3 for i in f.readlines():
       
     4     if i.startswith('<p id=') : 
       
     5         list_tmp=i.split('"')[1]
       
     6         pid_list.append(list_tmp)
       
     7 print pid_list