@Andy_Y, is your script by any chance called motion.py? If yes, change the name, restart Pythonista to be sure, and try again.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.