check the current Operating System in Python? Answer: import platform platform.platform() platform.system() platform.release() platform.version()