Movatterモバイル変換


[0]ホーム

URL:


Error with string.strip

Stephen Bouletstepheb at comm.mot.com
Fri Apr 20 11:39:32 EDT 2001


Can someone tell me why this doesn't work? Thanks.>>> import string>>> string.strip("all's well as ends well     ")"all's well as ends well">>> string.strip(" 15157 ?         0:01 ttsession\012")  File "<stdin>", line 1    string.strip(' 15157 ?         0:01 ttsession\012')                                                       ^SyntaxError: invalid syntax


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp