We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This script simply loads a document into memory and saves it again. It takes the filename as argument.
import sys from odf.opendocument import load infile = sys.argv[1] doc = load(infile) outfile = infile[:-4] + "-bak" + infile[-4:] doc.save(outfile)