Load and save XMind files
masterYou can work with XMind files by loading an existing .xmind file using xmind.load() and saving your changes using xmind.save().
When saving, if you do not provide a path, the SDK will save the workbook to the path that was originally set when the file was loaded. To save to a different location, provide the target path as the second argument.
import xmind
# Load an existing XMind file
workbook = xmind.load('/path/to/file.xmind')
# Save changes to the original path
xmind.save(workbook)
# Or save to a specific new path
xmind.save(workbook, '/save/file/to/path.xmind')