Walkthrough video to show how to get the hello world add-on running inside your ServiceM8 Developer account.
For more information go to the ServiceM8 Developer Portal
So I would cut and paste my python code into ServiceM8?
At this stage the simple functions inside ServiceM8 only support NodeJS, if you wish to use Python you'll need to setup your addon as an AWS Lambda function - and load the python code into your AWS account directly.
How to perform external integration using oauth.Also how to test before submitting to store