March 2003
Intermediate to advanced
656 pages
39h 30m
English
read_byte
m.read_byte( )Returns a string of length 1 containing the
character at m’s file
pointer, then advances
m’s file pointer by
1.
m
.read_byte( ) is
similar to m
.read(1).
However, if m’s file
pointer is at the end of m,
m
.read(1) returns the
empty string '', while
m
.read_byte( ) raises a
ValueError exception.
Read now
Unlock full access