python 获取系统平台

 

>>> import sys
>>> sys.platform
'darwin'
>>> 

 

posted @ 2020-01-08 15:18  anobscureretreat  阅读(359)  评论(0)    收藏  举报