Article M136 [$] Easier Python string formatting

[$] Easier Python string formatting

by
corbet
from LWN.net on (#M136)
Some languages pride themselves on providing many ways to accomplish anygiven task. Python, instead, tends to focus on providing a single solutionto most problems. There are exceptions, though; the creation of formattedstrings would appear to be one of them. Despite the fact that there are(at least) three mechanisms available now, Python's developers have justadopted a plan to add a fourth. With luck, this new formatting mechanism (slated for Python 3.6) willimprove the traditionally cumbersome string-formatting facilities availablein Python.
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments