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

Once we learn to namespace things it’s gonna be so nice. Seems we keep re-learning that lesson…


  import io
  from contextlib import redirect_stdout as r
  b=io.StringIO()
  with r(b):import this
  print(b.getvalue().splitlines()[-1])
> Namespaces are one honking great idea -- let's do more of those!




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

Search: