Posted 8 September 2017, 2:39 pm EST
We have always used the fpspread.open(filename) to open and load our spread xml files. However, with our network edition, we want to open our xml files in a way that only one user at a time can open and use a spread file. The open(filename) doesn't work in this scenario, but the open(stream) does - it disallows another user to open the xml file while it is in use.
My question is this - in conjunction with open(file), we've used fpspread.save(file) to save the updated xml file. Can we still use the fpspread.save(filename) to save to a file that was opened using fpspread.open(stream)? Or do we need need to change how we save and close the file? In addition, does using fpspread.open(stream) to open the file change any of the workings of the spread control?