"Blackbird" <[EMAIL PROTECTED]> wrote: > Slightly OT, but here is a crazy little program that shows the power of > using raw strings: > > s=r'print "s=r\'%s\'\n%s"%(s,s)' > print "s=r\'%s\'\n%s"%(s,s) > > When run, this program will print an exact copy of itself.
I'm not sure what the raw strings brings to the table, though; it's not like you need them to write a "self-replicating" python program: http://miscoranda.com/37 </F> -- http://mail.python.org/mailman/listinfo/python-list