which

mk mrkafk at gmail.com
Fri Feb 5 16:21:30 CET 2010


KDr2 wrote:
> cmd= isinstance(cmd,str) and c.replace('${ADDR}',ip) or cmd

Perlish, but I like that. :-)

Regards,
mk




More information about the Python-list mailing list