I was looking around trying to find a solution to my issue, the best I could find was this:
from sys import platform
if platform == "linux" or platform == "linux2":
# linux
elif platform == "darwin":
# OS X
elif platform == "win32":
# Windows...
Does anybody know how I could differentiate a Linux PC from android as android Is based off of Linux. And if this is possible, how could I differentiate Mac OS from iOS