How to get the PATH environment-variable separator in Python?

前端 未结 5 876
粉色の甜心
粉色の甜心 2020-12-02 12:43

When multiple directories need to be concatenated, as in an executable search path, there is an os-dependent separator character. For Windows it\'s \';\', for

5条回答
提交回复
热议问题