Removing Text From A String Python Methods