Ejemplo n.º 1
0
 def save(self):
     self.progress = "Saving formatted document..."
     path = self.story.path
     document = self.document2
     path = regexlib.clipRight(path, ".")
     path += "_formatted.docx"
     document.save(path)
Ejemplo n.º 2
0
 def save(self):
     self.progress = "Saving formatted document..."
     path = self.story.path
     document = self.document2
     path = regexlib.clipRight(path,".")
     path += "_formatted.docx"
     document.save(path)
Ejemplo n.º 3
0
 def open(self):
     self.progress = "Opening file..."
     path = self.story.path
     path = regexlib.clipRight(path, ".")
     path += "_formatted.docx"
     os.system("start " + path)
Ejemplo n.º 4
0
 def open(self):
     self.progress = "Opening file..."
     path = self.story.path
     path = regexlib.clipRight(path,".")
     path += "_formatted.docx"
     os.system("start "+path)