一行代码实现的功能
一行代码实现的功能 一行代码修改网页任意内容 浏览器 Console document.body.contentEditable='true'; 一行代码网站变黑白 浏览器 Elements 找
...Read more...
数人世相逢,百年欢笑.
一行代码实现的功能 一行代码修改网页任意内容 浏览器 Console document.body.contentEditable='true'; 一行代码网站变黑白 浏览器 Elements 找
...Read more...
python 切割图片成九宫格 from PIL import Image def fill_image(img): width, height = img.size # 选取长和宽中较大值作为
...Read more...
py 修改工作区访问相对静态资源 涉及到模块导入相关的环境,可以通过在sys.path添加绝对路径来解决 涉及到读取资源文件的相关环境,可以通过使用os.chdir修改工作区为另一个绝对路径来解
...Read more...
loguru 把不同的日志写入不同的文件中 https://loguru.readthedocs.io/en/stable/api/logger.html 这里的 lambda 函数可以改成一个
...Read more...
python sqlite3 基本使用 import sqlite3 as sl con = sl.connect('my-test.db') with con: con.execute(&qu
...Read more...
python使用系统默认应用打开文件 import platform userPlatform=platform.system() # 获取操作系统 fileDir='./Desktop/fil
...Read more...