I'm trying to use python to read in data from a text file but I keep getting syntax errors when I execute the program. Python Code: Test.pyimport osimport numpy as npYe,Eb,Tb = np.genfromtxt(ye_tnuebar_table.txt,unpack=True)print Yeprint TbNote: I've also used the np.loadtxt function with the same result. Once I save my program, I go to my bash shell and run it with:./Test.pyAfter about a minute and a half I get back the following errors:./Test.py: line 6: syntax error near unexpected token `('./Test.py: line 6: `Ye,Eb,Tb = np.genfromtxt(ye_tnuebar_table.txt, unpack=True)'I've looked up documentation on the loadtxt and genfromtxt functions and everything I've seen says that the python is correct, so I have no idea what is going wrong or how to fix it. 
syntax error while trying to execute python program in bash shell
bash;python
The shell doesn't know it's a python program, so it's trying to execute the commands as shell commands: you either need to tell it to use the python interpreter explicitly on the command linepython Test.pyor add a shebang to the top of your script file#!/usr/bin/env python