1. os.name
posix(mac)/nt(win)
2.plantform.system()
Darwin(mac)/Linux/Windows/Java
3.sys.plantform
win32(windows)/linux(Liunx)/cygwin(Windows/Cygwin)/darwin(MAC)