title: how to strip string from quotes and spaces
body: <p>Hey guys im trying to create a api request from a script like this:</p>
  
  <pre><code> ticket = [] 
   for x in result:
       ticket.append(x) 
   for t in ticket:
       sport = int(t['Sport'])
       location = int(t['Location'])
       league = str(t['League'])[1:].strip()
       print(league)
       x = requests.post('http://server1:5099/Leagues?alias={league}&amp;sportId={sport}'.format(league=league.strip(),sport=sport))
       print(x.status_code)
  </code></pre>
  
  <p>im getting 404 error an when im debugging the code i see that the league is printed like this:
  "'Spain Cup. Women'"
  i need to remove the white spaces and the quotes from the league string so that the api request will look like this:</p>
  
  <blockquote>
    <p><a href="http://server1:5099/Leagues?alias=SpainCup.Women&amp;sportId=48242" rel="nofollow noreferrer">http://server1:5099/Leagues?alias=SpainCup.Women&amp;sportId=48242</a></p>
  </blockquote>
  
  <p>Thanks!</p>