Skip to content

Instantly share code, notes, and snippets.

@JerryFleming
Last active June 26, 2019 13:06
Show Gist options
  • Save JerryFleming/5530610 to your computer and use it in GitHub Desktop.
Save JerryFleming/5530610 to your computer and use it in GitHub Desktop.
Zen of Python, Chinese Ultimate Final Version. The script features short (shortest?) and unreadable string. Beat me, break me!
#!/usr/bin/python
# Zen of Python, Chinese Ultimate Final Version
# by Jerry Fleming <[email protected]> at 2012-12-14
# No right reserved. Use at your own risk!
s = '''
x\x9cM\x90\xdbO\xc20\x18\xc5\xdf\xf9\xff\xff\x012%\x88K\x84\xb2\xb1Kwc\x9dv+\x17
g\xbb\x0b!\xd3\xe0D\xf0Ax\x00SHp\x89mb\xa2O\xcd\xef\xf4\x9c\xef\xebi\x8b\xdd\xa3
\x80\\\xb1\xe5\xf0\x18\xf6\xdaJ\x0b\x9d\xc6\x13\x89\xf0%Q\x05:\x07w%\xd1\xd42&P
\x1e\x12\xc7\x1f!\x15\xf8\xe0\x16\x03\x89x4-e\xb6r\xee$\xba_Z.\xd0OF\xe34\xb3
\xabbA\xe5\xe4\xe9"h(\x00\xd0O\xa6\x0bR\xeb\xee\xfc\xda\xd0\xf2:\xbd\xb16\xd9A
\\O\xd61$:C"\x81\xacF\xeeM3!\x03\x18U1\xd2v\xf3\xa3\xb6\xb3\x1a!\x0c\x1b\x03\xa3
Sl\xd0\x9e\xcdC\xe9@\x9bQ\xf6\xda\xa3\xef\x8a\xeaU\xde\x19\x84\xa0\x16"\xeb\x98
\x88\xa5\x14\x16\x85\xa2\x96{\x1bQ@\xf0\xbcK\xa1\x1e)\xaa[{\xdcp\xfb\xa6\xb0ym
\xab\xcak\x93\xf7?\x8d\xae\xdf#\x0e\x80\xf13-K\xae\xbb\x8a*\x17Eo\x04\xdbI\xe0
\xc4\x13a~,\xb2e\xc9eA\x00K.\x04\xfdV\xa3\xa8\xe3\xcdJ\x0e-\x91\xdc\xfe\xca\xf1
\xd6\xba\xc8\xf9\xd1\x93\xf8\x8a\x9a\xcc\x145\xc2\xde\x8c\xe0:.N\xb4\xfeg\xa0\xe5
\x9f\x81\x82tG\xb0\xc9m$\xdf"k}\xa3\x8b\x9f;k\x82e\x0b\xef\x8c\xf6z\x14\xec\xa2
\xbd\xa2\xce)\xc2\xac\xa3\x0fF+\x87\x05\x17\x86\x84\xf9\x070\x9bP\x0f
'''
import zlib
print zlib.decompress(s.replace('\n', '')).decode('gbk')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment