会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
三个零
无论走到哪里 都应该记住 过去都是假的 回忆是一条没有尽头的路
博客园
首页
新随笔
联系
管理
2022年2月11日
python判断当前运行环境是windows还是linux
摘要: import platform plat = platform.system().lower() if plat == 'windows': print('windows系统') elif plat == 'linux': print('linux系统')
阅读全文
posted @ 2022-02-11 03:06 三个零
阅读(3758)
评论(0)
推荐(0)
公告