I use 'xlwt' to write to Excel files as part of my Python project. I also need to open the Excel spreadsheet for display, and also close it. I found a function:
import webbrowser webbrowser.open('C:/Users/300231823/Desktop/GUI/simplenew4.xls')
It seems to open the .xls file. How to close a file?
I am completely new to programming and I started using Python 3 weeks ago.
source share