title: "import: not found" when trying to run a Python script
body: <p>I have two files. They both work. 1st one is aspscheduler script which run 2nd script every xx time(not too fast to exluce this case). When it comes to execute 2nd script I got this error:</p>
  
  <pre><code>./sql.py: 2: ./sql.py: import: not found
  ./sql.py: 4: ./sql.py: import: not found
  ./sql.py: 5: ./sql.py: import: not found
  ./sql.py: 7: ./sql.py: ROOT: not found
  ./sql.py: 8: ./sql.py: tempixy: not found
  ./sql.py: 9: ./sql.py: Syntax error: "(" unexpected
  </code></pre>
  
  <p>But everything works when I execute 2nd script manually.</p>
  
  <p>First 10 lines of code from 2nd script:</p>
  
  <pre><code>#import mysql.connector
  import MySQLdb
  #from MySQLdb import errorcode
  import os
  import re
  
  ROOT = '/sys/bus/w1/devices'
  tempixy = []
  for sensor in os.listdir(ROOT): 
  </code></pre>
  
  <p>Thanks for your taking your time! Good night.</p>
  
  <p>@@@ For hungryones for my 1st script:
  pastebin.com/zpuUmYyg</p>