title: Python Syntax Error while inserting string variable
body: <p>Simple error while inserting variable . Can't seem to figure it out ! <code>meaning</code> and <code>word</code> are of type str .  </p>
  
  <pre><code>rest_command = "display notification \'%s\' with title \'%s\'", %(meaning[0],word[0])
  os.system(osascript -e + rest_command)
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>File "word-scraper.py", line 20
      rest_command = "display notification \'%s\' with title \'%s\'", %(meaning[0],word[0])
                                                                      ^
  SyntaxError: invalid syntax
  </code></pre>