I'm very new to python. How can I convert a unit in python? I mean not using a conversion function to do this. Just as a built-in syntax in python, like the complex numbers works. E.g., when I typed 1mm in python command line, and expect the result is 0.001
>>> 1mm
0.001
#Just like the built-in complex numbers or scintific expressions
>>> 1j
1j
>>> 1e3
1000
I totally have no idea, do anybody knows how complex number or scintific expressions work in Python? Or any idea on how to do it.
thanks,