Python学习笔记#10 - Python英汉术语对照

  • Pyhton相关 -
    函数 function
    方法 method
    列表 list
    切片 slicing
    元组 tuple
    字典 dictionary
    键值对 key-value pairs
    映射 mapping
    星号 asterisk
    迭代对象 iterable (An object capable of returning its members one at a time. Examples of iterables include all sequence types (such as list, str, and tuple) and some non-sequence types like dict.)
    形参 parameter (A named entity in a function or method definition that specifies an argument or arguments that the function can accept.)
    实参 argument(A value passed to a function or method when calling the function. There are two kinds of argument: positional argument and keyword argument.
    位置实参 positional argument
    关键词实参 keyword argument
    收集 packing (* pack arguments in a tuple, ** pack keyword argument in a dictionary)
    If the form “*identifier” is present, it is initialized to a tuple receiving any excess positional parameters, defaulting to the empty tuple.
    If the form “**identifier” is present, it is initialized to a new ordered mapping receiving any excess keyword arguments, defaulting to a new empty mapping of the same type.
    分割 unpacking(* iterable unpacking operator and ** dictionary unpacking operators)
    嵌套的nested
    类class
    超类superclass
    Python包安装程序 pip(package installer for Python)
    Python包索引 PyPI(Python Package Index)

  • matplotlib相关
    刻度 tick

  • 其它
    应用编程接口 API(Application Programming Interface)
    统一资源定位符 url(Uniform Resource Locator)

猜你喜欢

转载自blog.csdn.net/weixin_43091089/article/details/99694582