Url Encode String Python Functions