Command line sensor and external script

Hi, I installed on my synology docker. I have written a python script I’d like to run as a command line sensor. I just don’t know how to find the right path to print to the script. Do I put it in the hassio folder?

Something like this?

  runmyscript: python /config/

Thanks. I will try it