how to open notepad using import os in python code example Example: python os open notepad import os os.system("C:\\Windows\\notepad.exe")