name
os.name —
OSの名前を取得する
Synopsis
rule
name ( )
Description
OSの名前を返す。戻り値は以下の通り。
値
意味
NT
Microsoft Windows
LINUX
Linux
MACOSX
Mac OS X
CYGWIN
cygwin