Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- # import signal
- # class InputTimeoutError(Exception):
- # pass
- # def interrupted(signum, frame):
- # raise InputTimeoutError
- # signal.signal(signal.SIGTERM, interrupted)
- # signal.alarm(10)
- # try:
- # name = raw_input('请在10秒内输入你的名字:')
- # except InputTimeoutError:
- # print('\ntimeout')
- # name = '无名'
- # signal.alarm(0) # 读到输入的话重置信号
- # print('你的名字是:%s' % name)
- # import tesserocr
- # from PIL import Image
- input(11rwrtrwerew1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement