I need print a file in binary mode .

f = f.open('python.jpg','rb')
bytes = f.read()
f.close()

print(bytes)

I can't get any binary code.

how to do it?

Thank you very much!

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

Reply via email to