In <[EMAIL PROTECTED]>, Lucas wrote:

> 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.

What do you mean by "binary code"?  If you use ``print repr(bytes)``
everything outside ASCII will be printed as escape sequence.

But why do you want to "print" JPEG images anyway?

Ciao,
        Marc 'BlackJack' Rintsch

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

Reply via email to