#!/usr/bin/python3.4
# -*-coding:Utf-8 -*
'''module to manage task Frame log'''
import xml.etree.ElementTree as xmlMod


class TaskLog:
	'''class to manage task frame log'''
	
	
	def __init__(self, xml = None, 
					nb = None,
					path = None,
					date = None,
					computingTime = None):
		'''initialize task frame object'''
		if xml is None:
			self.defaultInit(nb, path, date, computingTime)
		else:
			self.fromXml(xml)
	
	
	
	
	
	def defaultInit(self, nb, path, date, computingTime):
		'''initialize Task frame log object'''
		self.frame = nb
		self.path = path
		self.date = date
		self.computingTime = computingTime
	
	
	
	
	
	def fromXml(self, xml):
		'''initialize Task frame log object with saved log'''
		
	
	
	
	
	
	def toXml(self):
		'''export task frame log into xml syntaxed string'''
		
		
	
	
	
	
	
	def print(self):
		'''A method to print task frame log'''
		
	
	
	
	
	

@@ -797,16 +797,170 @@
 ng'''%0A%09%09
+return '%3Cframe frame=%22'+str(self.frame)+'%22 path=%22'+self.path+'%22 date=%22'+str(int(self.date.timestamp()))+'%22 computingTime=%22'+str(self.computingTime)+'%22 /%3E'
 %0A%09%09%0A%09%0A%09%0A

implement frame log exporting