Entries from 2013-06-01 to 1 day

How to handle Japanse with Python (12)

This is about chapter 12 of the whale book. This capter is only available in Japanease version. I still keep to write in English as this might be helpful for other double-byte character languages.Of course, I will continue other chapters (…

Sequence (4.2.1)

Chapter 4 of the whale book looks like grammar review of pythons. Go to next section 4.2. Using tuple. >>> t = 'walk', 'fem', 3 >>> t ('walk', 'fem', 3) >>> t[0] 'walk' >>> t[1:] ('fem', 3) >>> len(t) 3 >>> raw = 'I truned off the spectror…