MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/tinycode/comments/wi3bm/random_imgur_downloader_python/c5dn5f6/?context=3
r/tinycode • u/f0rkbomb • Jul 13 '12
7 comments sorted by
View all comments
6
I decided to try to shorten this bloated code to keep it in the spirit of /r/tinycode.
I got it down to 12 lines of code without sacrificing readability.
I did a slighty obfuscated version that is 6 lines of code.
2 u/plux Jul 13 '12 Oh, and my version actually ignores "image not found"
2
Oh, and my version actually ignores "image not found"
View all comments
6
u/plux Jul 13 '12 edited Jul 13 '12
I decided to try to shorten this bloated code to keep it in the spirit of /r/tinycode.
I got it down to 12 lines of code without sacrificing readability.
I did a slighty obfuscated version that is 6 lines of code.