low level python read's

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sun Jan 7 18:21:42 CET 2007


In <1168184689.924811.305290 at 42g2000cwt.googlegroups.com>, gz wrote:

> So how do i stop python from trying to be smart and just read *at most*
> 1000 chars and let it go if he(it?*) reads less?

For low level file stuff use the functions in the `os` module, i.e.
`os.read()`.

> p.s *is python a "he" or an "it"?

I'd say "it".

Ciao,
	Marc 'BlackJack' Rintsch




More information about the Python-list mailing list