Skip to main content

Os -name modülü

#!usr/bin/env python

-- coding:utf-8 --

import os
if os.name=="posix":
print os.name
if os.name=="nt":
print os.name

Comments

Comments powered by Disqus