
Aug. 26, 2015
10:02 p.m.
On 08/26/2015 03:53 PM, Mike Miller wrote:
Hold on, it took f'' strings a while to grow on you, give it a few minutes. ;)
I'd like Python to be competitive with other (shell) scripting languages, and appeals to purity stand in the way of that. Sometimes practical is just darn useful.
We've already acquiesced to arbitrary expressions, so this is a small further step, icing on the cake, no? I believe Guido mentioned something about "half-measures" in one of his messages.
Python is never going to be bash.
env=os.environ.get f'HOME={env("HOME")}' 'HOME=/home/eric'
That's good enough. Eric.