Convert to binary and convert back to strings
Harlin Seritt
harlinseritt at yahoo.com
Wed Feb 21 18:50:53 EST 2007
Hi...
I would like to take a string like 'supercalifragilisticexpialidocius'
and write it to a file in binary forms -- this way a user cannot read
the string in case they were try to open in something like ascii text
editor. I'd also like to be able to read the binary formed data back
into string format so that it shows the original value. Is there any
way to do this in Python?
Thanks!
Harlin
More information about the Python-list
mailing list