I was trying to execute a python file which not saved in the python directory but in a different one in linux (fedora) terminal. What I tried was:
bash: syntax error near unexpected token 'vsh1.py'
Locate your python's source file
find / -name vsh1.py
and once located run
if you want your script to be seen from any location for the interpreter you have to add it to PYTHONPATH:
if your script in the same directory you can just run