Changes between Version 11 and Version 12 of Python


Ignore:
Timestamp:
09/04/07 16:03:50 (17 years ago)
Author:
atzm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Python

    v11 v12  
    2828>>> huge(**a) 
    29291 2 3 
     30}}} 
     31 
     32== 日本語関連 == 
     33=== 文字コードとか === 
     34 * 例えば euc-jp の場合 
     35{{{ 
     36#!python 
     37>>> a = 'あ' 
     38>>> ord(a[0]) == 0xa4 
     39True 
     40>>> ord(a[1]) == 0xa2 
     41True 
     42 
     43>>> ''.join([hex(ord(c))[2:] for c in 'あいうえお']) 
     44'a4a2a4a4a4a6a4a8a4aa' 
    3045}}} 
    3146