You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
260 B

6 years ago
  1. from multiprocessing import Process
  2. import reader
  3. class Reader():
  4. def __init__(self):
  5. read = reader.Read(self)
  6. p1 = Process(target=read.detect)
  7. p1.start()
  8. def received(self,data):
  9. print(data)
  10. qr_reader = Reader()
  11. while 1:
  12. continue