Suppose I write:

f = open("myimg.jpg")
f.read(10)


According to the docs,
-----------
read([size])

Read at most size bytes from the file....The bytes are returned as a
string object.
----------

How does python convert a byte to a string?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to