Startup Data scientist Blog

データ分析系のテック情報を発信します

スクリプトを実行したOSを表示するサンプルコード

pythonライブラリsysで実行したOSを表示する

 

import sys

print(sys.platform)

>>>

win32