Hello everyone, i have a problem, when i try to run a script made in python i cant.
The following script is:
import shutil
from datetime import date
path = 'path/to/new/destination/for/file'
today = date.today()
today = today.strftime("%d_%m_%Y")
file_name = f"{path}{today}.txt"
shutil.move("path/to/current/file.foo", file_name)
In this case the two path are confidencial information. I try to put System.RunPythonScript before all the code but nothing happens.
The error is the following: Syntax error.
Can anybody help me?
Thank you !