Search:
Help/Guide
About Trac
Preferences
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
←
Previous Change
Wiki History
Next Change
→
Changes between
Version 11
and
Version 12
of
Python
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
09/04/07 16:03:50 (
17 years
ago)
Author:
atzm
Comment:
--
Legend:
Unmodified
Added
Removed
Modified
Python
v11
v12
28
28
>>> huge(**a)
29
29
1 2 3
30
}}}
31
32
== 日本語関連 ==
33
=== 文字コードとか ===
34
* 例えば euc-jp の場合
35
{{{
36
#!python
37
>>> a = 'あ'
38
>>> ord(a[0]) == 0xa4
39
True
40
>>> ord(a[1]) == 0xa2
41
True
42
43
>>> ''.join([hex(ord(c))[2:] for c in 'あいうえお'])
44
'a4a2a4a4a4a6a4a8a4aa'
30
45
}}}
31
46