Created
January 15, 2016 11:49
-
-
Save harunyasar/57baf471f9139f4780c0 to your computer and use it in GitHub Desktop.
Byte or string to XML convert
This file contains 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
str = 'Your byte string' | |
file = open('xmlToSave.xml', 'wb') | |
file.write(str.decode('base64')) | |
file.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment