Steven Bethard wrote:
> Gabriel Genellina wrote:
>> 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()
>>
>> Us
Gabriel Genellina wrote:
> 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
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.
--
Gab
John Machin wrote:
> On May 27, 4:20 pm, Steven Bethard <[EMAIL PROTECTED]> wrote:
>> Steven Bethard wrote:
>>> I just tried to upload new versions of the argparse module to PyPI, but
>>> it seems like I can no longer upload Windows installers:
> [snip]
>> That seems a little weird to me. Are the b
On May 27, 4:20 pm, Steven Bethard <[EMAIL PROTECTED]> wrote:
> Steven Bethard wrote:
> > I just tried to upload new versions of the argparse module to PyPI, but
> > it seems like I can no longer upload Windows installers:
[snip]
> That seems a little weird to me. Are the bdist_wininst exe files re
Steven Bethard wrote:
> I just tried to upload new versions of the argparse module to PyPI, but
> it seems like I can no longer upload Windows installers:
>
> $ setup.py sdist bdist_wininst upload
> ...
> running upload
> Submitting dist\argparse-0.8.0.zip to http://www.python.org/pypi
>