我更喜欢 sys.platform 来获取平台。替换代码0】将区分linux、其他unixes和OS X,而 os.name 则更为通用。 这些都是由。 import sys print(sys.platform) import os ...
確定! 回上一頁