title: syntax error near unexpected token `(' python script
body: <p>I am running a python code that has to interact between a windows machine and a linux machine.</p>
  
  <p>The code is launched on windows, the computations are performed by the server, and the result comes back in a folder on windows.</p>
  
  <p>When I run the code on my Windows machine is fine but when this is passed through the linux server I get the following error message:</p>
  
  <pre><code> line 25: syntax error near unexpected token `('
   line 25: `db = MySQLdb.connect(host="192.168.1.18", # host
  </code></pre>
  
  <p>while the line of code is:</p>
  
  <pre><code> db = MySQLdb.connect(host="192.168.1.18", # host
  </code></pre>
  
  <p>What does the error message mean and how to solve it?</p>
  
  <p>Thanks </p>