xlwings跨工作簿复制粘贴工作表——小白文章
import xlwings as xwimport timefrom time import sleep#以上为调用xlwings模块和时间模块app = xw.App ( visible=True, add_book=False )#选择excel表格可视化操作,并且不新建sheet页wb = app.books.open (r'E:/䐁蕳/要复制的工作簿.xlsx')sht = wb.sheets['sheet1']time.sleep(2)wb1= app.books.open (
原创
2021-03-28 00:32:41 ·
4807 阅读 ·
4 评论