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

Just use Python 3.5.


str.format() can be cursed too, e.g.:

  >>> '{:{}{}}'.format('m', 'o<2', 3)
  'moooooooooooooooooooooo'




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

Search: