[Python] Read and Write to a binary file



       
             data = open('path/to/file', 'rb').read()
             open('path/to/file', 'wb').write(data)
       
 

Popular Posts