python环境是什么意思
1.下载python安装包
在官网
但是下载过程非常曲折,各种中断。
于是选择下载anaconda。anaconda本身就自带了Python的解释器而且还自带了很多实用性工具。推荐清华源的下载地址:
2.安装
选择为所用用户安装或只是为自己安装。(直接下一步过去就行)
选择安装路径
这里建议将第一个勾选(将Anaconda添加到环境变量中,不勾选的话后期要自己添加到环境变量)
开始安装
安装完成
3.测试安装
使用Win+R组合键,输入cmd打开命令提示符窗口,再输入python进入交互式终端。
4.彩蛋:《Python之禅》
The Zen of Python, by Tim Peters
《Python之禅》 Tim Peters
Beautiful is better than ugly.
优美胜于丑陋
Explicit is better than implicit.
明了胜于隐晦
Simple is better than complex.
简洁胜于复杂
Complex is better than complicated.
复杂胜于混乱
Flat is better than nested.
扁平胜于嵌套
Sparse is better than dense.
宽松胜于紧凑
Readability counts.
可读性很重要
Special cases aren't special enough to break the rules.
即便是特例,也不可违背这些规则
Although practicality beats purity.
虽然现实往往不那么完美
Errors should never pass silently.
但也不应该放过任何异常
Unless explicitly silenced.
除非你确定需要如此
In the face of ambiguity, refuse the temptation to guess.
如果存在多种可能性,不要猜测
There should be one-- and preferably only one --obvious way to do it.
肯定有一种--通常也是唯一一种--最佳的解决方案
Although that way may not be obvious at first unless you're Dutch.
虽然这并不容易,因为你不是Python之父
Now is better than never.
动手比不动手要好
Although never is often better than *right* now.
但不假思索就动手还不如不做
If the implementation is hard to explain, it's a bad idea.
如果你的方案很难懂,那肯定不是一个好方案
If the implementation is easy to explain, it may be a good idea.
如果你的方案很好懂,那肯定是一个好方案
Namespaces are one honking great idea -- let's do more of those!
命名空间非常有用,我们应该多加利用
喜欢本文的朋友,欢迎关注公众号 栗子程序员,收看更多精彩内容
作者:weixin_39603537
来源链接:https://blog.csdn.net/weixin_39603537/article/details/110960809
版权声明:
1、JavaClub(https://www.javaclub.cn)以学习交流为目的,由作者投稿、网友推荐和小编整理收藏优秀的IT技术及相关内容,包括但不限于文字、图片、音频、视频、软件、程序等,其均来自互联网,本站不享有版权,版权归原作者所有。
2、本站提供的内容仅用于个人学习、研究或欣赏,以及其他非商业性或非盈利性用途,但同时应遵守著作权法及其他相关法律的规定,不得侵犯相关权利人及本网站的合法权利。
3、本网站内容原作者如不愿意在本网站刊登内容,请及时通知本站(javaclubcn@163.com),我们将第一时间核实后及时予以删除。