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


rsplit([sep [,maxsplit]])

Return a list of the words in the string, using sep as the delimiter string. If maxsplit is given, at most maxsplit splits are done, the rightmost ones. If sep is not specified or None, any whitespace string is a separator. Except for splitting from the right, str.rsplit behaves like str.split which is described in detail below. New in version 2.4.