str.endswith

endswith(suffix[, start[, end]])

Return True if the string ends with the specified suffix, otherwise return False. suffix can also be a tuple of suffixes to look for. With optional start, test beginning at that position. With optional end, stop comparing at that position.

Changed in version 2.5: Accept tuples as suffix.

 

A Django site. this page was rendered by a django application in 0.01s 2010-12-16 15:47:07.322031. hosted by webfaction.