Need Help
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Tue Jul 10 11:57:59 EDT 2007
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
More information about the Python-list
mailing list