Sunday, 15 September 2013

Convert string to binary in python

Convert string to binary in python

I am in need of a way to get the binary representation of a string in
python. e.g.
st = "hello world"
toBinary(st)
Is there a module of some neat way of doing this?

No comments:

Post a Comment