(file_name)
return True
Set a file as hidden.
Set a file as hidden.
Set a file as hidden .
def hide_file(file_name):
    """Set a file as hidden."""
    try:
        win32api.SetFileAttributes(file_name, win32con.FILE_ATTRIBUTE_HIDDEN)
    except win32api.error:
        return False
    return True
def hide_file ( file_name ) : try : win32api . SetFileAttributes ( file_name , win32con . FILE_ATTRIBUTE_HIDDEN ) except win32api . error : return False return True