Exemple #1
0
	def build(self):
		"""Builds and saves the excel file"""
		# Save the excel file
		self.book.save(self.fileName)
		shutil.move(self.fileName, self.EXPORT_DIRECTORY+'/'+self.fileName)
		notificationText = "Data has been exported successfully to the Excel file " + self.fileName + " in the " + self.EXPORT_DIRECTORY + " folder."
		createNotification("Export to Excel", notificationText)
Exemple #2
0
 def build(self):
     """Builds and saves the excel file"""
     # Save the excel file
     self.book.save(self.fileName)
     shutil.move(self.fileName, self.EXPORT_DIRECTORY + '/' + self.fileName)
     notificationText = "Data has been exported successfully to the Excel file " + self.fileName + " in the " + self.EXPORT_DIRECTORY + " folder."
     createNotification("Export to Excel", notificationText)
Exemple #3
0
	def save(self, fileName):
		"""Saves the document"""
		self.fileName = fileName
		self.document.save(fileName)
		shutil.move(self.fileName, self.EXPORT_DIRECTORY+'/'+self.fileName)

		notificationText = "Data has been exported successfully to the Word file " + self.fileName + " in the " + self.EXPORT_DIRECTORY + " folder."
		createNotification("Export to Word", notificationText)
Exemple #4
0
    def save(self, fileName):
        """Saves the document"""
        self.fileName = fileName
        self.document.save(fileName)
        shutil.move(self.fileName, self.EXPORT_DIRECTORY + '/' + self.fileName)

        notificationText = "Data has been exported successfully to the Word file " + self.fileName + " in the " + self.EXPORT_DIRECTORY + " folder."
        createNotification("Export to Word", notificationText)