せっかくやし,遊んでみる。
[~]$ python gold† (pts/2) Python 1.6 (#1, Sep 6 2000, 10:49:09) [GCC 2.95.2 19991024 (release)] on sunos5 Copyright (c) 1995-2000 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved. >>> str='つむら' >>> str '244304244340244351' >>> import sys >>> sys.set_string_encoding('euc_jp') >>> u=unicode(str) >>> u u'u3064u3080u3089' >>> print str[1] >>> print str[2:4] む >>> print u[1] む