dilshod / xlsx2csv

Convert xslx to csv, it is fast, and works for huge xlsx files
MIT License
1.66k stars 302 forks source link

Support pathlib.Path as arguments to Xlsx2csv and Xlsx2csv.convert #251

Open elibroftw opened 1 year ago

elibroftw commented 1 year ago

Python's open function supports pathlib.Path so I think this library should also support it instead of me having to do

Xlsx2csv(str(xlsx_file), outputencoding='utf-8').convert(str(csv_file))
DeflateAwning commented 1 month ago

This is trivial to implement, and is a standard in modern Python code. Shocking this is lagging.