The syntax of print in python2 and python3 is different, so there will be this error, you can run the following command:

python2 x708bat.py

or

python x708bat.py