import os os.system('notepad.exe')
Here is what the above code is Doing:
1. It’s importing the os module.
2. It’s using the system() function in the os module to open Notepad.
3. It’s using the os module to open Notepad.
If you want to learn more about the os module, check out the official documentation.