import platform print(platform.system(), platform.release()) import os print(os.name) import sys print(sys.platform) # These are the 3 ways to print the platform.