News for hackers. Stuff that matters.
Re:Things to use in Python 3 by cecilpl2 on Wednesday May 15, 2019 @12:00PM (#19920702)
Using your example, I think

"My name is {name}, I'm {feet} tall and live in {location}.".format(name="Bob", location="USA", feet=7)

is less explicit than

"My name is Bob, I'm 7 feet tall and live in USA."

Re:Things to use in Python 3 by ansonhoyt on Thursday May 23, 2019 @09:21AM (#19991486)
and that last one is faster to run ;-)
Re:Things to use in Python 3 by collyw on Thursday May 16, 2019 @03:13AM (#19926839)
Yes it is.