How to create a script that list itself ?
mwm at mired.org
Thu Jan 12 07:43:10 CET 2006
Tim Roberts <timr at probo.com> writes:
> It was pointed out to me that the shortest Python program which produces
> itself on stdout is:
Which, oddly enough, is also the shortest shell program that produces
itself on stdout.
Mike Meyer <mwm at mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
More information about the Python-list