Hi,
I have a python script which creates a csv file using following method
I want to run the additional shell script once the above csv file has been generated.
Any Hints
Thanks
Mehdi
I have a python script which creates a csv file using following method
Code:
def printOutInformation(self):
if self.orderby == 'r':
self.iplist.sort(cmp=self.RealtimeComparison)
elif self.orderby == 'p':
self.iplist.sort(cmp=self.ProcessingtimeComparison)
# by default the order will just be the order that the IPs were in the reasoning log
if csvoutput:
csvfile = open(self.csvfile, 'w')
csvfile.write("IP Address,Total Time Elapsed,Pipeline Processing Time,Start Time,End Time\n")
for list in self.iplist:
ip, realtime, processingtime, starttimestamp, endtimestamp = list
csvfile.write("%s,%s,%s,%s,%s\n" % (ip, realtime, processingtime, starttimestamp.isoformat(), endtimestamp.isoformat()))
csvfile.close()
Any Hints
Thanks
Mehdi
Comment