[python] How can I find the first occurrence of a sub-string in a python string?