Pythonのお勉強 Part 27
■ このスレッドは過去ログ倉庫に格納されています
0504デフォルトの名無しさん
2008/07/12(土) 05:58:09>>>"%s" % repr(l)
"('abc', (1, 2, 3), {})"
>>> "%r" % l
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: not all arguments converted during string formatting
ってなるけど
■ このスレッドは過去ログ倉庫に格納されています