17 lines
349 B
Python
17 lines
349 B
Python
#!/usr/bin/python
|
|
import platform
|
|
import lutinDebug as debug
|
|
|
|
# print os.name # ==> 'posix'
|
|
if platform.system() == "Linux":
|
|
OS = "Linux"
|
|
elif platform.system() == "Windows":
|
|
OS = "Windows"
|
|
elif platform.system() == "Darwin":
|
|
OS = "MacOs"
|
|
else:
|
|
debug.error("Unknow the Host OS ... '" + platform.system() + "'")
|
|
|
|
debug.debug(" host.OS = " + OS)
|
|
|