
from com.thalmic.myo import Pose

myo = Runtime.start("python", "Python")
myo = Runtime.start("myo", "MyoThalmic")

myo.connect()
myo.addPoseListener(python)

onPose(pose):
  print(pose.getType())

Create MyoThalmic.py