I am trying both to work. Scratch forum: Get a python application to connect to my project and respond to Scratch's broadcast blocks - Discuss Scratch (mit.edu)