トップ 差分 一覧 ソース 検索 ヘルプ RSS ログイン

tips-Py-ods

  Python で ods ( open-office 表計算ファイル ) を読む

pandas(PRG-PY-pandas) でできる

 ./0031101/Scripts/python3 -m pip install --upgrade openpyxl
 ./0031101/Scripts/python3 -m pip install --upgrade odfpy  
import pandas as pd

wb = pd.read_excel("./値段.ods",engine="odf",sheet_name="Sheet1")

print (wb)