Mar-19-2019, 05:15 PM
Hi folks,
I come here to ask you a quick question
I am a noob in python and I have a so simple problem. I looked at several python documentations, but I think my poor basic knowlegde of python doesn't permit me to find what I am looking for....so I came here^^
I am not developping a python script, but simply using the calculation feature of ptyhon, which is more powerfull than the one on script shell.
I'm doing it by calling "python -c" from linux CLI
Thanks a lot in advance
I come here to ask you a quick question
I am a noob in python and I have a so simple problem. I looked at several python documentations, but I think my poor basic knowlegde of python doesn't permit me to find what I am looking for....so I came here^^
I am not developping a python script, but simply using the calculation feature of ptyhon, which is more powerfull than the one on script shell.
I'm doing it by calling "python -c" from linux CLI
#python -c "print 0.0000006 + 0.0000008" 1.4e-06question is : how do I force python to have a result in decimal (example 0.xxxxxxxxxx)
Thanks a lot in advance