file_tools.py 134 Bytes Raw Blame History Permalink 1 2 3 4 def file_write(file, file_path): with open(file_path, 'wb+') as f: for chunk in file.chunks(): f.write(chunk)