Find Function In Python String