Learning Python programming processes and procedures, training and self-learning are applicable

  A clear learning objectives

Whether it is learning what knowledge, must have a clear understanding of the learning goals. The only way to continue to move forward towards the goal, detours, are constantly upgrading from learning to enjoy the process of learning python program.

Although there are many programming languages, but based on the concept of grammar, in essence, they are interlinked. You can do a pass Belden. There is no need to learn which language is too tangled.

 
 

python is currently on the market, I personally think is one of the most simple and most elegant & & & & & & most future career prospects most versatile programming language, no. So now you have decided to learn python, then you need to next determination, we decided to do at least as their main language.

python is a versatile language, a large community, there are too many libraries and frameworks. You just need to find the right tools to implement ideas, eliminating the need for energy made the wheels.

coder can write as little code to achieve the same functionality. "Life is short, I use python" is wisdom.

 
 

If you implement a medium-business complexity of the project, at the same time requirements, using java code farming to 4-5, then realized with python may need only one. This is the biggest advantage of the python.

Second, the basic knowledge and learning python

1. Know what Python is, what can be done?

2. know what variables, algorithms, interpreter

3. Python basic data types

4. The method of operation of lists and tuples

5. A method of operating a string

6. Basic operation method dictionary

These would be the next step after a slight grasp, do not forget the encounter can again refer to books and notes.

 
 

While reading science editor is the least efficient thing. Not to mention the contents of the book basically obsolete. Is a comparison of the more translations are very obscure, according to writing code to run nowhere, constantly being given. It is against the enthusiasm of learning.

However, the book introduces the basic syntax, or you can buy as a handbook for use. Such buy books like basis, to find a weekend break day can be read.

Third, to master Python conditions, loops and associated execution statement

任何知识它的基础知识都是有些枯燥的,现在我们就可以动手来做一些逻辑层面的东西了。掌握 if、else、elif、while、for、continue、break和列表推导式等这些语句的使用,还有程序中的异常处理。

 
 

四、面对对象知识

面对对象OOP,更高层次的Python程序结构,代码的重用避免代码冗余,打包你的代码,函数的参数、作用域等。

类,可以帮助我们减少大量的开发时间,提高编程的效率,对中大型项目十分关键。

五、项目实践

在这个阶段,一定要多动手实践,查找和处理过程中遇到的错误和异常,遇到问题多上网搜索,也可以参考公众号内的一些文章。

 
 

在成功的解决了这些问题之后,会有一种很大的成就感,这样一个良性循环,才是你学习Python这类程序语言的最大动力。

以上是小姐姐总结学习Python的步骤和流程。

 

 
 

六:缺点

当然任何一门语言都有缺点,Python也不例外。小姐姐认为学习一门语言不仅需要清楚的知道学习步骤,做到心中有规划。也需要适当的了解一下他的缺点,也是为了更好的掌握、完善。

 
 

1、第一个缺点就是运行速度和C程序比要慢很多,因为Python是解释型语言,代码在执行时会一行一行地翻译成CPU能理解的机器码,这个翻译过程非常耗时,所以很慢。

2、第二个缺点就是代码不能加密。如果要发布你的Python程序实际上就是发布源代码,还好我们大部分用python是来写应用程序,给用户提供服务的,用户其实不需要也不关心你的源码




Guess you like

Origin www.cnblogs.com/baijinpython/p/12066924.html