def is_full_path(file):
 if (file.startswith('\\') or file.startswith('/')):
  return True
 try:
  if (file[1:3] == ':\\'):
   return True
 except:
  pass
 return False

def is_full_path ( file ) : if ( file . startswith ( '\\' ) or file . startswith ( '/' ) ) : return True try : if ( file [ 1 : 3 ] == ':\\' ) : return True except : pass return False
return true if path is absolute .