On Tue, 10 Jul 2007 08:28:05 -0700, pycraze wrote:

>        In the above code what does "
> 000\000\000\000\000\000\000\000\000 " signify ?  Which form of
> representation is this ?

\nnn is the octal representation of a byte.  The snippet you've shown
contains mostly zero bytes:

In [10]: a = '\000'

In [11]: a
Out[11]: '\x00'

In [12]: ord(a)
Out[12]: 0

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to