Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

write binary file in python

file = open("sample.bin", "wb")
COPYfile.write(b"This binary string will be written to sample.bin")
COPYfile.close()
Source by codefreelance.net #
 
PREVIOUS NEXT
Tagged: #write #binary #file #python
ADD COMMENT
Topic
Name
6+7 =