Searched refs:path_or_file (Results 1 – 1 of 1) sorted by relevance
13 def readPlist(path_or_file): argument15 if isinstance(path_or_file, basestring):16 path_or_file = open(path_or_file, "rb")19 return load(path_or_file, use_builtin_types=False)22 path_or_file.close()26 def writePlist(value, path_or_file): argument28 if isinstance(path_or_file, basestring):29 path_or_file = open(path_or_file, "wb")32 dump(value, path_or_file, use_builtin_types=False)35 path_or_file.close()