06 2022 档案
摘要:% Python各版本均可使用, 但不推荐使用 格式化的字符串与被格式化的值的位置必须一一对应 例如: print('name: %s, age: %s' % ('tom', '21')) | 符号 | 功能 | | :--: | : : | | %s | 格式化字符串 | | %d | 格式化整数
阅读全文
摘要:import cv2 class WVideoManager: def __init__(self, write_path: str, width: int, height: int, FPS: int = 5, WinName: str = 'WVideoManager'): fourcc = c
阅读全文