which

mk mrkafk at gmail.com
Fri Feb 5 10:21:30 EST 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