"lincoln rutledge" <[EMAIL PROTECTED]> writes: > strings have methods like string.count("f") returns 1. What methods do > lists have? Is it a similar class to string?
Strings and lists are similar but not the same. dir(string) will show you the methods available for strings. dir(list) will show you the methods available for lists. See also the "built-in types" section of the Python Library Reference Manual, the section on sequence types. -- http://mail.python.org/mailman/listinfo/python-list