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])


0196501.xml

In [ ]:
/home/jallen2/git/Research-Trend/sample

In [ ]:
import pickle, os

In [61]:
!cat model.py


cat: model.py: No such file or directory

In [ ]: