nebhead / PiFire

PiFire is a Smart WiFi enabled controller for your pellet smoker / grill.
https://nebhead.github.io/PiFire-Pages
MIT License
78 stars 31 forks source link

replace `os` with `pathlib` where possible #142

Open ChasonDeshotel opened 1 year ago

ChasonDeshotel commented 1 year ago

OS is big and bulky. Pathlib does everything we want but faster and better

I have a branch with this work but it'll be next week before I can test it and shoot over the PR

nebhead commented 1 year ago

Good to know! So yeah, if there is a good example of how to replace those os functions with something else that is less bulky, definitely welcome. I'm not afraid of doing it myself, but maybe just give me an example of how you use this.