Trim Function In String Python Definition Library