code like below willprint all files ending on 'par2', except tose not
containong 'vol' from the 5th position. is that what you need?
-import glob
-for nuke in glob.glob(r"""c:\temp\*.par2"""):
- try:
- nuke.index('vol', 5)
- print nuke
- except ValueError, e:
- print e-- http://mail.python.org/mailman/listinfo/python-list
