David MacQuigg <dmq at gain.com> writes: > >In any case, I think the one-liner posted satisfies nearly all of the > >requirements. > > > >import sys > >def pr(*args): sys.stdout.write(''.join([str(i) for i in args])) "import sys" makes it a two-liner, I think.