摘要:
# step1 设置变量 SET @NAME = "测试测试"; # step2 sql语句加入预处理(要使用变量的地方 用“?”表示) PREPARE SQL1 FROM 'SELECT * FROM user WHERE name = ?'; # step3 执行(SQL1:表示要执行的SQL语 阅读全文
摘要:
""" PIL下载:https://www.lfd.uci.edu/~gohlke/pythonlibs/ Pillow‑8.0.1‑cp39‑cp39‑win_amd64.whl:Python3.9 Windows 64位 """ from appium import webdriver from 阅读全文
摘要:
def del_endswith_none(str1: str): """ 删除字符串首尾的空字符(空格、换行) :param str1: """ s = str1 if str1 is not None: while True: if s.endswith(' ') or s.endswith(' 阅读全文