I am trying to print the filename 'xyz.0.html' in the console. It is spitting out an error "substring not found"
files in directory:
xyz.0.html
xyz.1.html
xyz.2.html
python
for name in glob.glob('*html'):
if name.index('.0.html'):
print name