Ivan> I can never remember ...where to find string methods

    >>>> dir('')
    Bruno> ['__add__', '__class__', ...

Also:

    >>> help(str)
    Help on class str in module __builtin__:

    class str(basestring)
     |  str(object) -> string
     |  
     |  Return a nice string representation of the object.
     |  If the argument is a string, the return value is the same object.
     |  
     |  Method resolution order:
     |      str
     |      basestring
     |      object
     |  
     |  Methods defined here:
    ...

Skip
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to