how to find out if the environment is windows or unix. I want to execute the same code as below. Please suggest
import os
if (os.getenv("windows"):
os.system(cmd/c ...)
if (os.getenv("unix")
os.system(sh shellscript.sh)
Thank you for your help.
source
share