I have the following python3 script as a basic example:
if __name__=="__main__":
temperatura = 71 #"función que lee la temperatura del procesador"
print("Leyendo temperatura del procesador")
if temperatura >= 70 #grados centigrados":
print("La temperatura es muy alta")
else:
print("ok!")
How can I run this script in the background in windows (daemon or service)?