joegasewicz / flask-file-upload

Easy file uploads for Flask.
MIT License
154 stars 15 forks source link

Switch from os.path to pathlib #102

Open laundmo opened 3 years ago

laundmo commented 3 years ago

os.path is far inferior and worse to the newer pathlib.

pathlib is a class based way of handling file paths, that works platform independently as it tries to translate paths.

joegasewicz commented 3 years ago

Hi @laundmo thanks for pointing this out. These are the changes we would require for the switch: https://github.com/joegasewicz/flask-file-upload/search?q=os.path