PYQT5(二十七)输出log到文件中

with open('log','a+') as l:
        print("date.txt exits%s \n"%now, file=l)

你可能感兴趣的:(PYQT5(二十七)输出log到文件中)