Hi,
Why this its not working:
What should do i do...Code:#!/usr/bin/python # -*- coding: utf-8 -*- import os import time #....more code....... with open('log-fonte-alimentacao.txt', 'a') as file: file.write("\n\nFonte de Alimentação Desligada\n") file.write(os.system('date')) #...more code......
Thanks in advance...
Diogo
Bookmarks