Problems installing and using python

I downloaded python but after I installed it and tried using it the windows defender started saying threats detected(Trojan.cml and other stuff) that I should restart the system. Please help me

Did you download it from the Python website? Python.org

Yes, I did