python使用xlwings對excel進行簡單操作

這篇文章將簡單介紹python利用xlwings操作excel,讀與寫 首先打開打開命令窗口,輸入pip install xlwings 等待安裝完成 import xlwings as excel #這裏的excel可以換成其他名稱 excel.Book(r"C:\Users\NICE\Desktop\test.xlsx")#打開表會彈出excel 或者讓excel不彈出來,上面代碼換成 exc
相關文章
相關標籤/搜索