Fredrik Lundh wrote:
(snip)
> to print to a file instead of stdout, just replace the print line with a 
> f.write call.
> 

Or redirect stdout to a file when calling the program !-)

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in '[EMAIL PROTECTED]'.split('@')])"
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to