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)
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)
def open(self): self.progress = "Opening file..." path = self.story.path path = regexlib.clipRight(path, ".") path += "_formatted.docx" os.system("start " + path)
def open(self): self.progress = "Opening file..." path = self.story.path path = regexlib.clipRight(path,".") path += "_formatted.docx" os.system("start "+path)