pyhon开发环境搭建
学习笔记
kay_beauty
我已经不是从前的我
展开
-
1. Anaconda下载地址和版本选择
lsb_release -a原创 2020-08-02 14:59:50 · 209 阅读 · 0 评论 -
2. Anaconda环境安装和pycharm环境安装
https://blog.csdn.net/h18208975507/article/details/99588826https://www.cnblogs.com/wxjnew/p/8024271.html原创 2020-08-02 15:05:36 · 88 阅读 · 0 评论 -
3. python中main函数的使用
#hello_python.pyx=10print(x)def my_yasaka(): x="yasaka" print(x)if __name__=='__mian__': my_yasaka()#hello_pyhton2.pyimport hello_pythonhello_python.my_yasaka()执行以上代码,hello_python2.py的输出是:10yasaka原因分析:`import hello_python`"导致的,当我们导入一原创 2021-04-25 20:43:14 · 832 阅读 · 0 评论 -
4. 使用conda创建虚拟环境
查看已创建虚拟环境conda env list创建虚拟环境conda create -n my_test python=3.6激活虚拟环境activate my_test原创 2021-04-25 21:55:29 · 42 阅读 · 0 评论