En Sun, 27 May 2007 12:19:03 -0300, Steven Bethard  
<[EMAIL PROTECTED]> escribió:

> Also, I couldn't get the StringIO code from there to work:
>
>  >>> import StringIO
>  >>> content = open('argparse-0.8.0.win32.exe').read()

Use open("...","rb").read() - the "b" is important on Windows.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to