If Python had a macro facility similar to Lisp/Scheme (something like MetaPython), how would you use it?
If you are a Lisp/Scheme programmer, what sorts of things do y
Well, I'd like instead of
print >> sys.stderr, "abc"
to write
err "abc"
in some scripts which have many debug printout statements.
I can do
import sys err = sys.stderr
and then
print >> err, "abc"
which is shorter, but that still takes too many characters on the line.