[Python-ideas] Have a "j" format option for lists
rosuav at gmail.com
Thu May 10 13:36:10 EDT 2018
On Fri, May 11, 2018 at 2:28 AM, Facundo Batista
<facundobatista at gmail.com> wrote:
> 2018-05-10 10:34 GMT-03:00 Chris Angelico <rosuav at gmail.com>:
>> A "!j" flag
>> could take an iterable, format each element using the given format,
>> and then join them. The letter "j" makes good sense then, as it
> Where would you indicate the separator if we use the bang notation?
It's your proposal, you can decide what works best for you. :) I don't
think there's anything quite like this, so go ahead and pick whatever
you reckon makes the most sense.
More information about the Python-ideas