to know binary

Chris Angelico rosuav at gmail.com
Sat Sep 1 00:18:02 EDT 2012


On Sat, Sep 1, 2012 at 2:15 PM, contro opinion <contropinion at gmail.com> wrote:
> there is a only line in the file nanmed test:
> 1234
> when i open it whit  xxd
> xxd  test
> what i  get is :
> 0000000: 3132 3334 0a                             1234.
> can you explain it ?

I would explain it as a file with one line named test:
1234

I would further explain that this uses Unix-style line endings.

Any further explanations will require a much clearer question. Try this:

http://www.catb.org/~esr/faqs/smart-questions.html

ChrisA



More information about the Python-list mailing list