Guido van Rossum wrote: > If there's demand, we could also introduce printf(), which would work > just like C's printf() except it takes a keyword argument to redirect > the output. I think this is probably unnecessary if string formatting becomes a function instead of the % operator (as has been suggested). I don't think that: write("""\ ERROR: Failed to import handler %s for function %s in file %s. Improperly formed foobar string.""".substitute(handler, function, file), to=sys.stderr) is really any worse than: printf("""\ ERROR: Failed to import handler %s for function %s in file %s. Improperly formed foobar string.""", handler, function, file, to=sys.stderr) STeVe -- You can wordify anything if you just verb it. --- Bucky Katt, Get Fuzzy
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4