native/Vendor/FreeType/src/tools/docmaker/utils.py
def  file_exists( pathname ):
    """checks that a given file exists"""
    result = 1
    try:
        file = open( pathname, "r" )
        file.close()
    except:
        result = None
        sys.stderr.write( pathname + " couldn't be accessed\n" )

    return result
def  file_exists( pathname ):
    result = 1
    try:
        file = open( pathname, "r" )
        file.close()
    except:
        result = None
        sys.stderr.write( pathname + " couldn't be accessed\n" )

    return result
def file_exists ( pathname ) : result = 1 try : file = open ( pathname , "r" ) file . close ( ) except : result = None sys . stderr . write ( pathname + " couldn't be accessed\n" ) return result
checks that a given file exists
checks that a given file exists