If you want to use the
Z0 constant (characteristic impedance of free space) in Python, use this snippet:
import scipy.constants Z0 = scipy.constants.physical_constants['characteristic impedance of vacuum'] print(Z0) # 376.73031346177066
In contrast to other constants,
Z0 is not available directly like
scipy.constants.pi but you need to use the
scipy.constants.physical_constants dict in order to access it.