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