from decimal import *:
getcontext()
getcontext().prec = a ..(设置精度)
m = Decimal(1)/Decimal(3)
得出来的m精度是设置好的