Movatterモバイル変換


[0]ホーム

URL:


string->list->string

Courageousjkraska1 at san.rr.com
Mon Apr 23 20:03:27 EDT 2001


So. I forget how to do this AGAIN. I know how to convert a string to a list:mylist = str ("alpha")but I don't remember the shorthand for converting it back?On another note, is there a module somewhere that knows how tostrip an entire set of user-specified characters from a string, ala:"a!b%c^".stripchars("!%^")"abc"???C//


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp