Sep-22-2018, 07:12 PM
I did this:
string1 = 'b"abc123test"' f = open('file.txt', "wb") f.write(string1) f.close()and it gave the same error