Python: Detect Android

后端 未结 2 534
栀梦
栀梦 2021-01-16 07:29

I\'m surprised to find very little info on this topic. I want to detect if a user is running Android. I\'m using:

platform.dist()

This perf

2条回答
  •  一整个雨季
    2021-01-16 08:08

    System name is returned 'Linux' because Android is also based on the Linux Kernel.Android is the name of the distro but deep down its linux.

提交回复
热议问题