scipy.constants.
value#
- scipy.constants.value(key)[源代码]#
physical_constants 中由 key 索引的值
- 参数:
- keyPython 字符串
字典
physical_constants
中的键
- 返回:
- valuefloat
physical_constants
中对应于 key 的值
示例
>>> from scipy import constants >>> constants.value('elementary charge') 1.602176634e-19