from myro import * init("/dev/rfcomm1") for i in range(5): turnRight(0.8, 0.25) print "i is", i print "All finished!"