Run a script from a driver

Hi,
I’d like to know if it is possible (and if yes, how) to run an already included script from a user by for example moving an object in the viewport (so, using a driver on the object xlocation). This must happen without console or any saved preference.
Just wish that a user reads the blend, moves an object in the viewport and hop, the script is run. The reason why is that I don’t wish the user be obliged to open the text editor to click on “Run the script”.

Thanks in advance.

No, there is not.
Cause this would allow with a prepared .blend-file to hack your pc without the user get to know it.
Maybe there might be a change if you write an addon for it, but not out of the box.