JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

xlwings_use.py

发布时间 2024-01-09 10:57:58作者: 涵旭

import xlwings as xw

app=xw.App(visible=True,add_book=False)
app.display_alerts=False
app.screen_updating=False

wb = app.books.add()
#wb = xw.Book()
#wb = xw.books.add()

wb = app.books.open('data.xlsx')

sheet = xw.books['data.xlsx'].sheets['Sheet1']

book_name = sheet.book
print(sheet.name)

app.quit()

    本栏目推荐文章
  • Early lameness detection in dairy cattle based on wearable gait analysis using semi-supervised LSTM-Autoencoder
  • [linux kernel] struct pid && the way the kernel used to cast uint32_t pid to struct task_struct
  • dlv调试时访问不可达函数报错please use a line with a statement
  • Coding Languages used in Smart cars
  • ui转py文件
  • vue报错:You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable */ to ignore all warnings in a file.
  • 报错:Port 8080 was already in use.
  • vite启动后提示:Network: use --host to expose,且无法通过网络IP访问服务
  • xlwings_use.py
  • read_excel_pandas.py
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们