Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def BHYClicked(self):
- print "ok" #self.label.setText("Bonjour"+self.Edit.text())
- command.cmd('{"command": "M107"}','X-Api-Key: 054E508852624649B8B250B341CFF639')
- travel = 100
- return travel
- def BHZClicked(self):
- print "ok" #self.label.setText("Bonjour"+self.Edit.text())
- command.cmd('{"command": "M107"}','X-Api-Key: 054E508852624649B8B250B341CFF639')
- print ('{"command": "M107"}','X-Api-Key: 054E508852624649B8B250B341CFF639')
- travel = BHYClicked()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement