Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 515 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 515 Bytes

#Scratra Scratra is a framework for Scratch remote sensor connections inspired by Sinatra. That's about it. The website used to exist but was demolished from lack of interest. You should take a look at the wiki instead. ###Put this in your catnip

#first.py
from scratra import *

@start
def whenstart(scratch):
  print 'Hello, World!'
  
@broadcast('hi, scratra!')
def hi(scratch):
  print 'Hi, Scratch!'
  
run()

###And meow

python first.py