How do I check the operating system in Python?

前端 未结 5 2017
情书的邮戳
情书的邮戳 2020-12-04 06:18

I want to check the operating system (on the computer where the script runs).

I know I can use os.system(\'uname -o\') in Linux, but it gives me a messa

5条回答
提交回复
热议问题