Advantages and disadvantages of python language

写一篇英文的稿子练练英语- -。

Python, as a high-level programming language, was born by accident, but it is inevitable that it will be loved by programmers.

Uncle turtle to the positioning of Python is "elegant", "clear", "simple", so Python programs always look simple and easy to understand, beginners to learn Python, not only easy to get started, and in the future to go deeper, you can write those very, very complex programs.

Advantages of python language

? as a beginner to learn python class background, python is very simple, very suitable for human reading.Reading a good Python program feels like reading English, even though the English language is very strict!This pseudo-code nature of Python is one of its greatest strengths.It allows you to focus on solving problems rather than figuring out the language itself.

The essay to learn.Python is written in c, but it eliminates the very complex Pointers in c and simplifies python syntax.

Python is one of FLOSS (free/open source software).In short, you are free to distribute copies of the software, read its source code, make changes to it, and use some of it in new free software.Python wants to see a better person create and often improve.

Portability -- because of its open source nature, Python has been ported to many platforms (even though it has been modified to work on different platforms).If you are careful not to use system-dependent features, all your Python programs can run on any of the following platforms without modification.These platforms include Linux, Windows, FreeBSD, Macintosh, Solaris, OS/2, Amiga, AROS, AS/400, BeOS, OS/390, z/OS, Palm OS, QNX, VMS, Psion, Acom RISC OS, VxWorks, PlayStation, Sharp Zaurus, WindowsCE even has PocketPC, Symbian and Google‘s linux-based Android platform!

Inside the computer, the Python interpreter turns the source code into an intermediate form called bytecode, then it turns it into the machine language that the computer USES and runs it.In fact, all of this makes it easier to use Python because you don‘t have to worry about compiling the program, making sure the connection reprints the correct library, and so on.Since you only need to copy your Python program to another computer, it will work, which makes your Python program more portable.

6 Python supports both procedural functional programming and object-oriented abstract programming.In a process-oriented language, programs are built from procedures or functions that are simply reusable code.In object-oriented languages, programs are built from objects that combine data and functionality.Python implements object-oriented programming in a very powerful and simple way compared to other major languages such as C++ and Java.

? ? extensibility and embeddability of liraglitide.If you need a piece of critical code that runs faster or you want some algorithms to remain private, you can write some of your programs in C or C++ and use them in your Python programs.You can embed Python in your C/C++ programs to provide scripting functionality to your program users.

Therefore rich pool.The Python standard library is really huge.Python has a defined third-party library to use.It can help you handle a variety of tasks, including regular expressions, document generation, unit testing, threading, databases, web browsers, CGI, FTP, E-mail, XML, xml-rpc, HTML, WAV files, cryptographic systems, guis (graphical user interfaces), Tk, and other system-related operations.Remember, all of these features are available once Python is installed.This is called Python‘s "full-featured" philosophy.In addition to standard libraries, there are many other high-quality libraries, such as wxPython, Twisted, Python image libraries, and so on.

Python is really a very nice and powerful language.It combines reasonably high performance with features that make writing programs easy and fun.

We will ground control code specifications.Python USES forced indentation to make the code extremely readable.

Disadvantages of the python language

Many times you can‘t write a program as a single line, such as import sys;For I in sys. Path :print I.Perl and awk don‘t have this limitation, and it‘s easy to complete simple programs under the shell without having to write them to a.py file, as Python does.(that‘s not a restriction for many users either)

? speed, speed requirements, with C++ rewrite key parts.For users, however, the machine speed is negligible.Because users don‘t feel the difference in speed at all.

The essay is both an advantage and a disadvantage, python open source is python language can not be encrypted, but at present, the domestic market purely by writing software to sell to customers less and less, websites and mobile applications do not need to give customers the source code, so this problem is a problem.Over time, many domestic software companies, especially game companies, have also begun to use it on a large scale.

There are too many architectural choices (there is no official.net architecture like C#, nor is there a relative concentration of architectural development like ruby due to its short history).The Ruby on Rails framework is unbeatable for developing small and medium-sized web applications.However, this also shows from another aspect that python is better and attracts more talents and projects.

原文地址:https://www.cnblogs.com/lifeijie/p/10126124.html

时间: 2024-11-10 10:47:12

Advantages and disadvantages of python language的相关文章

萌新向Python数据分析及数据挖掘 第二章 pandas 第二节 Python Language Basics, IPython, and Jupyter Notebooks

Python Language Basics, IPython, and Jupyter Notebooks In [5]: import numpy as np #导入numpy np.random.seed(12345)#设定再现的的随机数 np.set_printoptions(precision=4, suppress=True) #设置打印设置 Signature: np.set_printoptions(precision=None, threshold=None, edgeitem

【转】由Microsoft python language Server 下载特别慢引发的问题

在求pycharm的激活码无果后,果断投入vscode的阵营 但是无奈之前vscode编写Python代码,智能提示实在太慢,网上搜寻各种解决办法,今天终于找到,亲测可行 看来是 Visual Studio IntelliCode 的锅,解决办法: 1.文件--首选项--设置,搜索jedi ,将jedi enable勾选,下面的解释意思大概就是用这个代替微软的后台分析 2.重启vscode,右下角会提示 Visual Studio IntelliCode 无法加载,然后点到插件设置,禁用或者直接

Python Tools for Machine Learning

Python Tools for Machine Learning Python is one of the best programming languages out there, with an extensive coverage in scientific computing: computer vision, artificial intelligence, mathematics, astronomy to name a few. Unsurprisingly, this hold

Data manipulation primitives in R and Python

Data manipulation primitives in R and Python Both R and Python are incredibly good tools to manipulate your data and their integration is becoming increasingly important1. The latest tool for data manipulation in R is Dplyr2 whilst Python relies onPa

A Complete Tutorial on Tree Based Modeling from Scratch (in R & Python)

A Complete Tutorial on Tree Based Modeling from Scratch (in R & Python) MACHINE LEARNING PYTHON R SHARE  MANISH SARASWAT, APRIL 12, 2016 / 52 Introduction Tree based learning algorithms are considered to be one of the best and mostly used supervised

python代码优化技巧

转自:http://www.douban.com/group/topic/31478102/ 这个资料库还有些不错的好文章: http://www.ibm.com/developerworks/cn/ 来看这篇<Python 代码性能优化技巧>http://www.ibm.com/developerworks/cn/linux/l-cn-python-optim/index.html 原文标题是代码性能优化,关键是性能优化,如果纯是代码优化则跟代码重构无异. 代码性能优化的本质:保证代码正确行

&lt;&lt;Python基础教程&gt;&gt;学习笔记 | 第04章 | 字典

第04章:字典 当索引不好用时 Python唯一的内建的映射类型,无序,但都存储在一个特定的键中,键可以使字符,数字,或者是元祖. ------ 字典使用: 表征游戏棋盘的状态,每个键都是由坐标值组成的元祖 存储文件修改的次数,文件名作为键 数字电话/地址薄 函数传递值def func(x,*args,**args): 如果要建公司员工与座机号的列表,如果要获得Alice的座机只能这么找 >>> names   = ['Alice','Bob','Tom'] >>> n

学习Python的day1

自己以前从来没有写博客的想法,但是学Python,里面的老师也说了,写博客可以加深自己的记忆,也能回顾内容.还能给别人参考.挺值的.2017-09-16 一. Python介绍 python的创始人为吉多·范罗苏姆(Guido van Rossum).1989年的圣诞节期间,吉多·范罗苏姆为了在阿姆斯特丹打发时间,决心开发一个新的脚本解释程序,作为ABC语言的一种继承. 最新的TIOBE排行榜,Python赶超PHP占据第五, Python崇尚优美.清晰.简单,是一个优秀并广泛使用的语言. Py

Python初体验

本节内容 Python介绍 发展史 Python 2 or 3? 安装 Hello World程序 变量 用户输入 模块初识 .pyc是个什么鬼? 数据类型初识 数据运算 表达式if ...else语句 表达式for 循环 break and continue 表达式while 循环 作业需求 一. Python介绍 python的创始人为吉多·范罗苏姆(Guido van Rossum).1989年的圣诞节期间,吉多·范罗苏姆为了在阿姆斯特丹打发时间,决心开发一个新的脚本解释程序,作为ABC语