1、終端当中,打开并编辑 .bash_profile文件。 运行命令:vi ~/.bash_profile 按 i 进入编辑状态,添加一行配置: alias python="/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7" 按ESC和:后,再输入wq保存和退出。 2、在终 …
分类存档:Record
python数据结构
列表 [数据1,数据2,数据3,数据4] 字典 {‘数据1’:值1,’数据2’:值2} 元组 (数据1,数据2,数据3,数据4) 集合 {数据1,数据2,数据3,数据4} 列表的增删 列表.append() 列表.remove()
docker操作命令
停止容器 docker stop id 删除容器 docker rm id 查看运行容器 docker ps -a