I'm relatively new to python scripting and I'm trying to batch process a number of files, with the first command being to convert formats.
gdal_translate -of KEA NDVI_20160101.tif NDVI_20160101.KEA
works perfectly when inputting the command directly into the terminal but when I copy and paste the command into a text editor and try and run the script from the destination with:
python ./SCRIPT_NAME.py
I get SyntaxError: invalid syntax
SCRIPT_NAME.py
from an IDE like IDLE? I would expect it to tell you the line on which you have a syntax error.