java programmer learning python: string split and join
===

Can someone explain to me why in python when we want to join a string we write:

    'delim'.join(str)

and when we want to split a string we write:

    str.split('delim')

coming from java it seems that one of these is backwards because in java we write:

    //split:
    str.split('delim');
    //join
    str.join('delim');

Can someone explain to me the rationale behind this API?

