Created
August 22, 2020 07:37
-
-
Save BexTuychiev/5d4449a679834cd0d70d2220c9d0a71d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def write_to_file(binary_code, file_name): | |
# Convert binary to a proper file and store in memory | |
with open(file_name, 'wb') as file: | |
file.write(binary_code) | |
print(f'Created file with name: {file_name}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment