On Mon, Nov 1, 2010 at 3:03 PM, Yingjie Lan <lany...@yahoo.com> wrote:
> with open('scores.csv'), open('grades.csv', wt) as f,g:
>     g.write(f.read())

One could write their own ContextManager here...

cheers
James

-- 
-- James Mills
--
-- "Problems are solved by method"
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to