Python-系统类型检测

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)

  

posted @ 2018-11-26 09:47  杨天成  阅读(679)  评论(0编辑  收藏  举报