def FileExists(fname):
    import os
    try:
        os.stat(fname)
        return 1
    except os.error, details:
        return 0
Check if a file exists.  Returns true or false.
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/site-packages/win32/scripts/regsetup.py/FileExists