The GitHub link below links to a very basic Python motor control program for sending serial commands to a TinyG board that’s connected to a computer via USB. I think the program is helpful in getting started if you plan to use Python in your TinyG project.