Created
April 27, 2016 07:46
-
-
Save hxer/13cef272756a701478be1499bbd0ab41 to your computer and use it in GitHub Desktop.
字符串转二进制字符串
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
''.join([ '{0:08b}'.format(ord(i)) for i in src ]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment