Movatterモバイル変換


[0]ホーム

URL:


Chocolate [was Re: Python Books for 2002]

Andrew Dalkedalke at acm.org
Tue Apr 10 13:22:18 EDT 2001


Konrad:>   for food in dir():>     if food[:2] != '_':>       eat(food)Moshe:>You meant, if food[:1] != '_', otherwise you'd eat people's private>foods too...Though food.startswith("__") would be the better solution sincemaking the mistake of a single _ would not have been as caloric.                    Andrewdalke at acm.org


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp