摘要:
1. print()默认是print(end='\n') 如果不想换行可以print(end='') 2. 使print内容变成一行 print(end='\t') 3. 不设置指定位置,按默认顺序 "{} {}".format("hello", "world") eg 打印99乘法表 print( 阅读全文
posted @ 2023-07-06 17:44
sunshine阿星
阅读(254)
评论(0)
推荐(0)
摘要:
安装第三方库 pip3 install opencv-python def scan_QR_opencv(): file_path = './file/data/screenshot.png' QR_image = cv2.imread(file_path) QR_detector = cv2.QR 阅读全文
posted @ 2023-07-06 17:40
sunshine阿星
阅读(144)
评论(0)
推荐(0)
摘要:
拿到二维码 使用playwright方法,通过元素截图 https://playwright.dev/python/docs/screenshots 导入第三方库 pip3 install pyzbar from pyzbar.pyzbar import decode from PIL import 阅读全文
posted @ 2023-07-06 11:28
sunshine阿星
阅读(267)
评论(0)
推荐(0)

浙公网安备 33010602011771号