Dave Hansen wrote:

> Stealing from the old C chestnut:
> 
> s="s=%c%s%c;print s%%(34,s,34)";print s%(34,s,34)

Or a bit shorter:

s='s=%s;print s%%`s`';print s%`s`
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to