title: Python syntax error near unexpected token
body: <p>I checked several duplicate questions, but they are not related to python.</p>
  
  <p>This is my script</p>
  
  <pre><code>#/bin/python3
  import time
  
  # Get the today date and use it as folder name
  print(time.strftime("%Y-%m-%d"))
  </code></pre>
  
  <p>as soon as I try to use it form the terminal (bash shell), I get the syntax error.</p>
  
  <pre><code>./test.py: line 5: syntax error near unexpected token `time.strftime'
  ./test.py: line 5: `print(time.strftime("%Y-%m-%d"))'
  </code></pre>
  
  <p>Looking at the code nothing seems to be wrong, and I'm not getting which one is the problem and if it's related to Python or to Linux (as in other posts seems it can depends from linux too).</p>