Just provide a quick reference to myself. I forget the way of checking file exist from time to time.
>>> import os
>>> os.path.exists('c:\\abc\\file.txt')
True
>>>
>>> import os
>>> os.path.isfile('c:\\abc\\file.txt')
True
>>>
QGIS Plugin and Python coding
Copyright (c) 2010 Python Code Blog All rights reserved. Design by CSS Templates | Blogger Templates by TeknoMobi | Sponsored by Bodrum48.