Код: Выделить всё
area_file = open('/home/gkrish19/SIAM_Integration/Final_Results/area_chiplet.csv', 'a')
area_file.write('Total NoP Driver area is' + '\t' + str(Nop_area) + '\t' + 'um^2')
area_file.close()
energy_file = open('/home/gkrish19/SIAM_Integration/Final_Results/Energy_chiplet.csv', 'a')
energy_file.write('Total NoP Driver Energy is' + '\t' + str(NoP_energy) + '\t' + 'pJ')
energy_file.close()
Код: Выделить всё
area_file = open('D:/SIAM_Integration/Final_Results/area_chiplet.csv', 'a')
Подробнее здесь: https://stackoverflow.com/questions/787 ... low-format