[python] How to get the position of a character in Python?