bash: syntax error near unexpected token `(' - Python
https://stackoverflow.com/questions/10676050/bash-syntax-error-near-unexpected-token-python
WebError: bash: syntax error near unexpected token `(' python. syntax. edited May 20, 2012 at 18:34. Levon. 141k 35 202 192. asked May 20, 2012 at 18:32. Jessica Burnett. 741 2 9 20. 20. The error message indicates that the script gets executed by bash, not python. Try adding #!/usr/bin/python as the first line of the file. – tripleee.
DA: 3 PA: 100 MOZ Rank: 81