dopefishh / pympi

A python module for processing ELAN and Praat annotation files
MIT License
93 stars 39 forks source link

Support pathlib.Path objects in addition to str file paths #37

Closed xrotwang closed 3 years ago

xrotwang commented 3 years ago

I propose to additionally accept pathlib.Path objects wherever file paths as str are accepted now. This makes tests simpler (when using pytest's tmp_path) and is also becoming the standard behaviour of most python stdlib modules.