Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
andyn
on Oct 9, 2008
|
parent
|
context
|
favorite
| on:
Ask HN: Good python code for code reading
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...
ivank
on Oct 9, 2008
[–]
Or forward-compatible, since encode/decode in py3k is between bytes and unicode only.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: