Searched refs:path_or_file (Results 1 – 1 of 1) sorted by relevance
14 def readPlist(path_or_file): argument16 if isinstance(path_or_file, str):17 path_or_file = open(path_or_file, "rb")20 return load(path_or_file, use_builtin_types=False)23 path_or_file.close()27 def writePlist(value, path_or_file): argument29 if isinstance(path_or_file, str):30 path_or_file = open(path_or_file, "wb")33 dump(value, path_or_file, use_builtin_types=False)36 path_or_file.close()