Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This was a major eye-opener for me as-well. I jumped into various python modules and was amazed at what I discovered. Like the easter-egg hidden away in "this.py":

http://pastebin.com/f25f08f20

(Couldn't figure out how to get code formatting to work properly)



Ha. All that code at the bottom of the file could be replaced by "print s.decode('rot13')" - I suppose it's backwards compatible though...


Or forward-compatible, since encode/decode in py3k is between bytes and unicode only.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: