Re: to know binary

2012-09-01 Thread Laszlo Nagy
On 2012-09-01 06:15, contro opinion wrote: there is a only line in the file nanmed test: 1234 when i open it whit xxd xxd test what i get is : 000: 3132 3334 0a 1234. can you explain it ? At offset zero (00): chr(0x31) + chr(0x32)+ chr(0x33)+ chr(0x33)+ chr

Re: to know binary

2012-08-31 Thread Dave Angel
On 09/01/2012 12:59 AM, contro opinion wrote: 1) you top-posted 2) you replied privately, excluding the list from your query > the file is utf-8 format, str='/0x31/0x32/0x33/0x34' 3) No idea what that value is supposed to mean. Perhaps you intended to use backslashes here? And perhaps you

Re: to know binary

2012-08-31 Thread Dave Angel
On 09/01/2012 12:15 AM, contro opinion wrote: > there is a only line in the file nanmed test: > 1234 > when i open it whit xxd > xxd test > what i get is : > 000: 3132 3334 0a 1234. > can you explain it ? > > > Explain what, exactly? Explain why you were able to

Re: to know binary

2012-08-31 Thread Chris Angelico
On Sat, Sep 1, 2012 at 2:15 PM, contro opinion wrote: > there is a only line in the file nanmed test: > 1234 > when i open it whit xxd > xxd test > what i get is : > 000: 3132 3334 0a 1234. > can you explain it ? I would explain it as a file with one line named

to know binary

2012-08-31 Thread contro opinion
there is a only line in the file nanmed test: 1234 when i open it whit xxd xxd test what i get is : 000: 3132 3334 0a 1234. can you explain it ? -- http://mail.python.org/mailman/listinfo/python-list