John Nagle wrote:
> Michael B. Trausch wrote:
>> In short: How do I create a string that contains raw binary content
>> without Python caring? Is that possible?
>
>Given where we're now at with strings in Python, Python should
> really have a "byte" type and a way to deal with arrays of byt
On 2007-04-01, Ene <[EMAIL PROTECTED]> wrote:
> On Apr 1, 11:44 am, John Nagle <[EMAIL PROTECTED]> wrote:
>> Michael B. Trausch wrote:
>> > In short: How do I create a string that contains raw binary content
>> > without Python caring? Is that possible?
>>
>> Given where we're now at with strings
On Apr 1, 11:44 am, John Nagle <[EMAIL PROTECTED]> wrote:
> Michael B. Trausch wrote:
> > In short: How do I create a string that contains raw binary content
> > without Python caring? Is that possible?
>
> Given where we're now at with strings in Python, Python should
> really have a "byte"
Michael B. Trausch wrote:
> In short: How do I create a string that contains raw binary content
> without Python caring? Is that possible?
Given where we're now at with strings in Python, Python should
really have a "byte" type and a way to deal with arrays of bytes,
independent of the stri
"Michael B. Trausch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| The protocol calls for binary data to be transmitted, and I cannot seem
| to be able to do it, because I get this error:
| UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0:
| ordinal not in r
Michael B. Trausch wrote:
>
> I never said it did. It just happens to be the context with which I am
> working. I said I wanted to concatenate materials without regard for
> the character set. I am mixing binary data with ASCII and Unicode, for
> sure, but I should be able to do this.
The probl
On Sun, 2007-04-01 at 06:09 -0300, Gabriel Genellina wrote:
> > When putting the MIME segments (listed line-by-line in a Python list)
> > together to transmit them. The files are typically JPG or some other
> > binary format, and as best as I understand the protocol, the binary data
> > needs to
En Sun, 01 Apr 2007 05:21:25 -0300, Michael B. Trausch <[EMAIL PROTECTED]>
escribió:
> I am attempting to piece together a Python client for Fotobilder, the
> picture management server on Livejournal.
>
> The protocol calls for binary data to be transmitted, and I cannot seem
> to be able to do