[Python-ideas] Briefer string format

Eric V. Smith eric at trueblade.com
Mon Jul 20 01:27:42 CEST 2015

On Jul 19, 2015, at 7:12 PM, Mike Miller <python-ideas at mgmiller.net> wrote:
> Have long wished python could format strings easily like bash or perl do, ...
> and then it hit me:
>    csstext += f'{nl}{selector}{space}{{{nl}'
> (This script included whitespace vars to provide a minification option.)
> I've seen others make similar suggestions, but to my knowledge they didn't
> include this pleasing brevity aspect.

What would this do? It's not clear from your description. 


More information about the Python-ideas mailing list