Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #101764

Re: Writing a stream of bytes

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Newsgroups comp.lang.python
Subject Re: Writing a stream of bytes
Date 2016-01-15 16:23 +0000
Message-ID <mailman.21.1452875068.15297.python-list@python.org> (permalink)
References <n7b4os$9j2$1@ger.gmane.org>

Show all headers | View raw


On 15/01/2016 15:55, jmp wrote:
> Hi pyple !

In the UK it's "purple", a bit like "color" is wrong, it's "colour".

>
>
> I'd like to write a stream of bytes into a file. I'd like to use the
> struct (instead of bytearray) module because I will have to write more
> than bytes.
>

If you'd like to clarify what you mean I'm sure we could help.  "a 
stream of bytes" but "have to write more than bytes" is as clear as UK 
mud, which is at least always better than, say, US mud.  Unless you 
don't like either, in which case it could be forked, so we could have 
mud 2.8, along with RickedMud.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: Writing a stream of bytes Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-01-15 16:23 +0000
  Re: Writing a stream of bytes Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-01-16 10:27 +1300

csiph-web