We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

str.rfind

rfind(sub [,start [, end]])

Return the highest index in the string where substring sub is found, such that sub is contained within s[start,end]. Optional arguments start and end are interpreted as in slice notation. Return -1 on failure.