How to print a file in binary mode
Fredrik Lundh
fredrik at pythonware.com
Sun Oct 22 14:04:25 EDT 2006
Lucas wrote:
> # How can I display a.jpg's binary code?
looks like you're confusing binary numbers with binary files:
http://en.wikipedia.org/wiki/Binary_numeral_system
http://en.wikipedia.org/wiki/Binary_file
you don't really need the former to encrypt the contents of the file;
algorithms tend to work just fine no matter what number system you use
to represent the input and output data.
</F>
More information about the Python-list
mailing list