摘要:
# python基本数据类型
python基本数据类型有:整型,浮点型,布尔型,复数型,字符串,列表,元组,字典,集合。
六大基本数据类型:
- ①.Number(数字)
- ②.String(字符串)
- ③.List(列表)
- ④.Tuple(元组)
- ⑤.Set(集合)
- ⑥.Dictionary(字典)
基本数据类型按**分类**又可分为可变数据类型和不可变数据类型。 阅读全文
摘要:
使用java.sql.DriverManager;进行数据批量写入 首先下载mysql-connect连接驱动包,https://dev.mysql.com/downloads/connector/j/5.1.html 将驱动包mysql-connector-j-8.2.0.jar放入项目lib下并 阅读全文
摘要:
正则匹配邮箱格式 匹配指定后缀邮箱格式 import re email = input("Enter your email:\n") result = re.match(r".*@(163|qq|126|sohu)\.com",email) print(result) if result: prin 阅读全文
摘要:
自定义滚动条样式 点击查看代码 .container { max-height: 200px; overflow-y: scroll; } .container::-webkit-scrollbar { width: 0.5em; background-color: white; } .contai 阅读全文
摘要:
##rust入门 安装rust(win) 下载安装包 https://www.rust-lang.org/tools/install 查看版本 rustc --version cargo -v 其他 https://blog.csdn.net/yao_hou/article/details/1242 阅读全文
摘要:
request的结构获取 class Upload(Resource): def post(self): print(curPath) print(request.files['file'].__dict__) print(' ') print(request.files.get('file')._ 阅读全文
摘要:
windows端nodejs检查应用运行并杀死。 import {exec, execSync} from "child_process" import {decode} from "iconv-lite" import { buffer } from "stream/consumers"; //w 阅读全文
摘要:
##IDEA maven出错 build IDEA Error:java: java.lang.OutOfMemoryError: GC overhead limit exceeded 启动 1.edit configuration 2.run 阅读全文
摘要:
app使用flask_session pip install flask_session from flask_session import Session app = Flask(__name__) app.config['SECRET_KEY'] = os.urandom(30) app.con 阅读全文
摘要:
#conda与python虚拟环境 创建环境 conda create -n ENV_NAME python=3.9 激活环境 conda activate ENV_NAME 给虚拟环境安装包: conda install -n your_env_name [package] 退出环境 conda 阅读全文