【术语】实用知识课堂——术语列表大盘点(五)

1.deterministic: Pertaining to a program that does the same thing each time it runs, given the
same inputs.
确定性:给定同样的输出,程序每次运行结果都相同。
2.pseudorandom: Pertaining to a sequence of numbers that appears to be random, but is
generated by a deterministic program.
假随机数:一段数字序列中的数,看上去似乎是随机的,但实际上也是由确定的算法来
生成的。
3.default value: The value given to an optional parameter if no argument is provided.
默认值:如果不对可选参数进行赋值的话,该参数会用默认设置的值。
4.override: To replace a default value with an argument.
覆盖:用户在调用函数的时候给可选参数提供了参数,这个参数就覆盖掉默认值。
5.rubber duck debugging: Debugging by explaining your problem to an inanimate object such
as a rubber duck. Articulating the problem can help you solve it, even if the rubber duck
doesn’t know Python.
小黄鸭调试法:对一个无生命的对象来解释你的问题,比如小黄鸭之类的,这样来调
试。描述清楚问题很有助于解决问题,所以虽然小黄鸭并不会理解 Python 也不要紧。
6.persistent: Pertaining to a program that runs indefinitely and keeps at least some of its data
in permanent storage.
持久性:指一个程序可以随时运行,然后可以存储一部分数据到永久介质中。
7.format operator: An operator, %, that takes a format string and a tuple and generates a
string that includes the elements of the tuple formatted as specified by the format string.
格式运算符: % 运算符,处理字符串和元组,然后生成一个包含元组中元素的字符串,
根据给定的格式字符串进行格式化。
8.format string: A string, used with the format operator, that contains format sequences.
格式字符串:用于格式运算符的一个字符串,内含格式序列。
9.format sequence: A sequence of characters in a format string, like %d, that specifies how a
value should be formatted.
格式序列:格式字符串内的一串字符,比如 %d ,规定了一个值如何进行格式化。
10.text file: A sequence of characters stored in permanent storage like a hard drive.
文本文件:磁盘中永久存储的一个文件,内容为一系列的字符。
11.directory: A named collection of files, also called a folder.
目录:有名字的文件集合,也叫做文件夹。
12.path: A string that identifies a file.
路径:指向某个文件的字符串。
13.relative path: A path that starts from the current directory.
相对路径:从当前目录开始,到目标文件的路径。
14.absolute path: A path that starts from the topmost directory in the file system.
绝对路径:从文件系统最底层的根目录开始,到目标文件的路径。
15.catch: To prevent an exception from terminating a program using the try and except
statements.
抛出异常:为了避免意外错误中止程序,使用 try except 语句来处理异常。
16.database: A file whose contents are organized like a dictionary with keys that correspond to
values.
数据库:一个文件,全部内容以类似字典的方式来组织,为键与对应的键值。
17.bytes object: An object similar to a string.
二进制对象:暂时就当作是根字符串差不多的对象就可以了。
18.shell: A program that allows users to type commands and then executes them by starting
other programs.
shell :一个程序,允许用户与操作系统进行交互,可以输入命令,然后启动一些其他程
序来执行。
19.pipe object: An object that represents a running program, allowing a Python program to run
commands and read the results.
管道对象:代表了一个正在运行的程序的对象,允许一个 Python 程序运行命令并读取运
行结果。
20.class: A programmer-defined type. A class definition creates a new class object.
类:用户定义的类型。一个类的声明建立了一个新的类的对象。
21.class object: An object that contains information about a programmer-defined type. The
class object can be used to create instances of the type.
类的对象:包含了用户自定义类型相关信息的一个对象。可以用于创建类的一个实例。
22.instance: An object that belongs to a class.
实例:术语某一个类的一个对象。
23.instantiate: To create a new object.
实例化:创建一个新的对象。
24.attribute: One of the named values associated with an object.
属性:一个对象内附属的数值的名字。
25.embedded object: An object that is stored as an attribute of another object.
内嵌对象:一个对象作为属性存储在另一个对象内。
26.shallow copy: To copy the contents of an object, including any references to embedded
objects; implemented by the copy function in the copy module.
浅复制:复制一个对象中除了内嵌对象之外的所有引用;通过 copy 模块的 copy 函数来
实现。
27.deep copy: To copy the contents of an object as well as any embedded objects, and any
objects embedded in them, and so on; implemented by the deepcopy function in the copy
module.
深复制:复制一个对象的所有内容,包括内嵌对象,以及内嵌对象中的所有内嵌对象等
等;通过 copy 模块的 deepcopy 函数来实现。
28.object diagram: A diagram that shows objects, their attributes, and the values of the
attributes.
类图:一种图解,用于展示类与类中的属性以及属性的值。



我们是Greaterwms软件开发团队。

项目介绍:
我们的产品是开源仓储管理软件,荣获gitee最有价值开源项目奖,评选为GVP项目

我们的产品支持多仓,波次发货,合并拣货,Milk-Run等业务模型。前后端分离为完全开源项目。

软件著作权编号:2018SR517685
GitHub地址:github
Gitee地址:   gitee
视频教程:    bilibili

Demo地址:DEMO
商务联系:mail@56yhz.com
技术交流:GreaterWMS-01(加微信进群)
————————————————
版权声明:本文为CSDN博主「GreaterWMS」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/GreaterWMS/article/details/122170926

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值