摘要:
"." Matches any character except a newline. "^" Matches the start of the string. "$" Matches the end of the string or just before the newline at the e 阅读全文
摘要:
编辑距离: 1、定义-->两个字符串,其中一个相对于另一个经过增删改操作的最少编辑次数 2、算法过程--> 3、举例-->以“ivan1”和“ivan2“两字符串为例 1、第一行和第一列的值从0开始增长 2、i列值的产生 Matrix[i - 1, j] + 1 ; Matrix[i, j - 1] 阅读全文
摘要:
转到声明-->ctrl+B 转到引用-->ctrl+alt+B 返回之前窗口-->F12 运行-->ctrl+shift+F10 转到之前编辑-->ctrl+shift+Backspace 阅读全文
摘要:
Could not fetch URL https://pypi.python.org/simple/xxx/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certific 阅读全文
摘要:
错误:error in launcher: Unable to create process using '" python多个版本时出现, 解决方法-- 将pip重新安装 python3 -m pip install --upgrade --force-reinstall pip 阅读全文
摘要:
动态注册时可以选择将itchat.run()放入另一线程或使用configured_reply()方法处理消息。 两种方法分别是: 阅读全文
摘要:
基本语法:pyinstaller options myscript.py常用的可选参数如下:--onefile 将结果打包成一个可执行文件--onedir 将所有结果打包到一个文件夹中,该文件夹包括一个可执行文件和可执行文件执行时需要的依赖文件(默认)--paths=DIR 设置导入路径--dist 阅读全文
摘要:
python实现微信接口(itchat) 安装 sudo pip install itchat sudo pip install itchat 登录 itchat.auto_login() 这种方法将会通过微信扫描二维码登录,但是这种登录的方式确实短时间的登录,并不会保留登录的状态,也就是下次登录时 阅读全文