def fileurl_token2file(cls, url, xoxp_token, filepath,): bytes = cls.fileurl_token2bytes(url, xoxp_token) FileTool.bytes2file(bytes, filepath)
def obj_filepath2write(cls, obj, filepath): bytes = pickle.dumps(obj) FileTool.bytes2file(bytes, filepath)