PyPI bdist_wininst upload failing

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sun May 27 11:34:44 EDT 2007


En Sun, 27 May 2007 12:19:03 -0300, Steven Bethard  
<steven.bethard at gmail.com> 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




More information about the Python-list mailing list