• 欢迎访问速搜资源吧,如果在网站上找不到你需要的资源,可以在留言板上留言,管理员会尽量满足你!

【速搜问答】python是什么软件

问答 admin 2年前 (2020-05-25) 386次浏览 已收录 0个评论

汉英对照:
Chinese-English Translation:

Python是一种跨平台的计算机程序设计语言。 是一个高层次的结合了解释性、编译性、互动性和面向对象的脚本语言。最初被设计用于编写自动化脚本(shell),随着版本的不断更新和语言新功能的添加,越多被用于独立的、大型项目的开发。 Python 是一种跨平台的计算机程序设计语言。 是一个高层次的结合了解释性、编译性、互动性和面向对象的脚本语言。最初被设计用于编写自动化脚本(shell),随着版本的不断更新和语言新功能的添加,越多被用于独立的、大型项目的开发。

Python is a cross platform computer programming language. It is a high-level scripting language that combines interpretability, compilation, interactivity and object-oriented. Originally designed to write automated scripts (shells), with the continuous update of versions and the addition of new language features, more and more are used for independent, large-scale project development. Python is a cross platform computer programming language. It is a high-level scripting language that combines interpretability, compilation, interactivity and object-oriented. Originally designed to write automated scripts (shells), with the continuous update of versions and the addition of new language features, more and more are used for independent, large-scale project development.

在您开始之前,在你的计算机将需要 Python,但您可能不需要下载它。首先检查(在同级目录下在命令行窗口输入 python)有没有安装 Python。如果你看到了一个 Python 解释器的响应,那么就能在它的显示窗口中得到一个版本号。通常的版本都可以做到 Python 的向前兼容。

Before you start, python will be required on your computer, but you may not need to download it. First, check whether Python is installed (typing Python in the command line window in the same level directory). If you see a response from a Python interpreter, you can get a version number in its display window. The usual versions are forward compatible with Python.

Python 在设计上坚持了清晰划一的风格,这使得 Python 成为一门易读、易维护,并且被大量用户所欢迎的、用途广泛的语言。

Python adheres to a clear and uniform style in design, which makes Python an easy to read, easy to maintain, and widely used language welcomed by a large number of users.

设计者开发时总的指导思想是,对于一个特定的问题,只要有一种最好的方法来解决就好了。这在由 Tim Peters 写的 Python 格言(称为 The Zen of Python)里面表述为:There should be one– and preferably only one –obvious way to do it. 这正好和 Perl 语言(另一种功能类似的高级动态语言)的中心思想 TMTOWTDI(There’s More Than One Way To Do It)完全相反。

The general guiding ideology of designer development is that for a specific problem, as long as there is a best way to solve it. This is expressed in the python Maxim written by Tim Peters (called the Zen of Python): there should be one – and preferentially only one – obvious way to do it.

Python 的作者有意的设计限制性很强的语法,使得不好的编程习惯(例如 if 语句的下一行不向右缩进)都不能通过编译。其中很重要的一项就是 Python 的缩进规则。

Python’s authors deliberately designed a very restrictive syntax, so that bad programming habits (such as if statement’s next line is not indented to the right) could not be compiled. One of the most important is Python’s indentation rules.

一个和其他大多数语言(如 C)的区别就是,一个模块的界限,完全是由每行的首字符在这一行的位置来决定的(而 C 语言是用一对花括号{}来明确的定出模块的边界的,与字符的位置毫无关系)。这一点曾经引起过争议。因为自从 C 这类的语言诞生后,语言的语法含义与字符的排列方式分离开来,曾经被认为是一种程序语言的进步。不过不可否认的是,通过强制程序员们缩进(包括 if,for 和函数定义等所有需要使用模块的地方),Python 确实使得程序更加清晰和美观。

The difference between a module and most other languages (such as C) is that the boundary of a module is completely determined by the position of the first character in each line (while C uses a pair of curly brackets {} to clearly define the boundary of the module, which has nothing to do with the position of the characters). This has been controversial. Since the birth of such a language as C, the grammatical meaning of language has been separated from the arrangement of characters, which was once regarded as the progress of a programming language. However, it is undeniable that Python does make programs clearer and more beautiful by forcing programmers to indent (including if, for, function definition and all other places where modules need to be used).


速搜资源网 , 版权所有丨如未注明 , 均为原创丨转载请注明原文链接:【速搜问答】python是什么软件
喜欢 (0)
[361009623@qq.com]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址