阅读背景:

在多操作系统支持的Python脚本中设置路径有哪些好方法

来源:互联网 

When writing a Python script that can be executed in different operating system environments (Windows/*nix), what are some good ways to set a path? In the example below I would like to have the logfiles stored in the logs folder under the current directory. Is this an acceptable approach (I'm rather new to Python) or are there better ways to achieve this? ThanksWhen writing a Python script that can be execut




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: