pypsa-meets-earth/pypsa-earth

Move from os to pathlib

オープン

#501 opened on 2022/10/29

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Python (349 件のフォーク)auto 404
good first issueimprovement

Repository metrics

Stars
 (351 個のスター)
PR merge metrics
 (平均マージ 28d 15h) (30d で 35 merged PRs)

説明

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

コントリビューターガイド