[python] Python Remove last 3 characters of a string