簡體   English   中英

在 Python 中導入哪個庫以從 Excel 文件中讀取數據,以使用 Selenium 進行自動化測試?

[英]Which library to import in Python to read data from an Excel file, for automation testing using Selenium?

Which library to import in Python to read data from an Excel file, I want to store different xpaths in Excel file for automation testing using Selenium?

您正在尋找xlrd庫來讀取excel文件。 編寫時,您可以使用xlwt

您可以使用XlsxWriter 它是一個 Python 模塊,用於在 Excel 中寫入文件。 xlutils也是非常有用的實用程序集合,用於自動化 excel 工作表操作。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM