首页
it技术
登录
6mi
u
盘
搜
搜 索
it技术
python判断当前的操作系统
python判断当前的操作系统
it
2025-04-19
20
https://blog.csdn.net/weixin_38570967/article/details/81161214
import platform print(platform.system()) if(platform.system()=='Windows'): print('Windows系统') elseif(platform.system()=='Linux'): print('Linux系统') else: print('其他')
转载请注明原文地址: https://lol.8miu.com/read-25021.html
最新回复
(
0
)