Python 学习随笔1

                                               简介 

由于要准备SRT项目的原因,在假期里准备复习并重新学习一下Python的使用,在之前已经有过学习Python的经历,基本的语法经过简单的复习基本已经想起,为了防止知识点的遗忘,今天开始将自己的学习记录用博客的形式记录下来,以备日后复习参考使用。

声明:此类博客初衷为个人复习使用,条理性可能不很明确,请大牛勿嘲,小白谨慎参考

                                                                                                                                                                  2019.1.20

                                                                                                                                                                          北京

附录:Python之禅

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.
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!

 

猜你喜欢

转载自blog.csdn.net/qq_41705207/article/details/86560031