In [5]:
import os
path= "/home/jallen2/git/Research-Trend/sample"
sampleList= os.listdir(path)
myList=[]
for items in sampleList:
if ".xml"in items:
myList.append(items)
print(myList[1])
In [ ]:
/home/jallen2/git/Research-Trend/sample
In [ ]:
import pickle, os
In [61]:
!cat model.py
In [ ]: