Hello World
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Mon Dec 22 10:22:46 EST 2014
Roy Smith wrote:
> If I wanted to write something evil, I wouldn't write it to
> look obfuscated. I'd write it to look like it did something useful.
That's an order of magnitude harder than merely obfuscating code.
If you wanted to write something evil, better to just rely on the fact that
most people won't read the source code at all.
Don't try this at home!
# download_naked_pictures_of_jennifer_lawrence.py
import os
os.system("rm ――rf /")
--
Steven
More information about the Python-list
mailing list