03 2022 档案
摘要:最开始我使用到的 OCR 识别版本(v2.3) 当前版本界面(v5.38) 识别方面,确实很好用。截图之后,可以选择复制识别文本。 下载地址 https://gitee.com/DDDDDGOOO/PandaOCR.Pro#https://gitee.com/link?target=https%3A
阅读全文
摘要:btn.config(state=tk.DISABLED) https://tieba.baidu.com/p/6734353611
阅读全文
摘要:使用 sys.exit(0) 比 exit(0) 在退出时,更加兼容
阅读全文
摘要:UPDATE 表名 AS 别名 SET 别名.字段 = ( CASE 别名.字段 WHEN 1 THEN 999 WHEN 2 THEN 1000 END) WHERE 条件;
阅读全文
摘要:import subprocess subprocess.run(cmd代码,shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, )
阅读全文
摘要:from django.conf import settings import django import pymysql pymysql.install_as_MySQLdb() INSTALLED_APPS = [] DATABASES = { 'default': { 'ENGINE': 'd
阅读全文
摘要:from django.http import HttpResponse,JsonResponse from django.shortcuts import render from django.db import connection # Create your views here. ''' i
阅读全文
摘要:from datetime import datetime t = datetime.now() print(datetime.date(t)) print(t.isoformat(sep = ' ',timespec = 'seconds')) print(t.timestamp().__str_
阅读全文