1 弧度 -> 角度 #第一种: import math x = 1 math.degrees(x) >> 57.29577951308232 #第二种: from math import * x = 1 degrees(x) >> 57.29577951308232 #第三种: from numpy as np np.rad2deg(np.pi/4) >> 45.0 2 角度 -> 弧度 # 第一种 import numpy as np x = 45 np.deg2rad(x) >> 0.7853981633974483