
python
文章平均质量分 62
AhoBric
人这一辈子,总得做点什么
展开
-
centos7.9 conda环境部署
部署目标:1、centos部署conda2、部署jupyternotebook3、jupyternotebook自动代码补全4、jupyternotebook自动识别多虚拟环境5、jupyternotebook可支持其他主机访问部署环境:Win10安装虚拟机,centos7.9部署流程:1、conda官网下载Miniconda,Miniconda3 Linux 64-bit。2、ssh上传到/home下,添加可执行权限。chmod 777 ./Minic...原创 2021-12-30 18:47:30 · 2291 阅读 · 0 评论 -
实现Python列表字典循环
列表:#打印1-100的数字for number in range(1,101): print number#打印多维的列表,将元素分别存放xy=[(1,10),(2,20),(3,30)]x=[]y=[]for i in xy: x.append(i[0]) y.append(i[1])print x,y字典:#d.item()方法会将key原创 2016-08-31 17:42:02 · 1726 阅读 · 0 评论