Thanks for the update ;)
Ok, I've copied everything I could from that GitHub post in to a folder called QNAP, and then created a new script with what you had provided above and put that outside.
So I now have a new qnaprun.py file next to the QNAP folder.
However - When I run the qnaprun.py script I get an immediate "syntaxerror : invalid syntax on the first line ? Which is
from filestation import
**** I understand you do not have a QNAP, hence your support is very much appreciated** .