https://www.crifan.com/python_get_current_system_os_type_and_version_info/
参考:https://stackoverflow.com/questions/1854/python-what-os-am-i-running-on
import platform
print(platform.system())

相关文章:

  • 2021-12-16
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2021-12-02
  • 2021-08-29
  • 2021-10-15
猜你喜欢
  • 2021-06-28
  • 2021-06-03
  • 2022-12-23
  • 2022-12-23
  • 2021-06-26
相关资源
相似解决方案