#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ https://docs.scipy.org/doc/scipy-1.0.0/reference/constants.html """ import scipy.constants for key, val in scipy.constants.physical_constants.items(): print(key, val) print(key, scipy.constants.value(key), scipy.constants.unit(key), scipy.constants.precision(key)) print(scipy.constants.find('Boltzmann')) print(scipy.constants.Boltzmann) print(scipy.constants.physical_constants['Boltzmann constant']) print(scipy.constants.value('Boltzmann constant')) print(scipy.constants.unit('Boltzmann constant')) print(scipy.constants.precision('Boltzmann constant'))