Created
October 8, 2015 23:48
-
-
Save neale/c1da0f79782aca200e05 to your computer and use it in GitHub Desktop.
Python minification for OS1
This file contains hidden or 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
for i in range(3): | |
with open('./txt-file-'+str(i)+'.txt', 'wb+') as f: | |
for x in {f.write, __import__('__builtin__').__dict__['print']}: | |
x(str([__import__('random').__dict__['choice'](map(chr,range(97, 123))) for n in range(10)])) | |
print __import__('random').__dict__['randint'](1, 43) * __import__('random').__dict__['randint'](1, 43) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment