pypsa-meets-earth/pypsa-earth

Move from os to pathlib

Aperta

#501 aperta il 29 ott 2022

 (2 commenti) (0 reazioni) (0 assegnatari)Python (349 fork)auto 404
good first issueimprovement

Metriche repository

Star
 (351 stelle)
Metriche merge PR
 (Merge medio 28g 15h) (35 PR mergiate in 30 g)

Descrizione

From Discord: "os.path vs pathlib": https://builtin.com/software-engineering-perspectives/python-pathlib The os module represents paths as strings with which you cannot do much. The pathlib module represents paths as special objects with useful methods and attributes.

Max: Let's use Pathlib by default. Tracking this here as a feature request so someone can work on the transition in future. I think it is a nice exercise for new contributors to get familiar with the code & the git workflow

Guida contributor