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

Even in Python 2, you can do something like this:

    println = lambda s: sys.stdout.write(s + '\n')
Not that it really makes things much better, but, at least it shows you can do it.


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

Search: