Recursive Property of Octal Numbers

James Stroud jstroud at mbi.ucla.edu
Fri Sep 30 18:40:51 EDT 2005


I'm very curious about what is going on here. I'm sure my curiosity has 
something to do with ignorance of some fundamental concept of computer 
science (maybe that 8 is just a vertical infinity?):

py> b = '\xb6'
py> b[0]
'\xb6'
py> b[0][0]
'\xb6'
py> b[0][0][0]
'\xb6'
py> b[0][0][0][0]
'\xb6'
py> b[0][0][0][0][0]
'\xb6'



James

-- 
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/



More information about the Python-list mailing list