You can simply use notepad.exe and pass the file name. Lines below opens up C:\test.txt
import os
os.system("notepad {}".format(r"C:\test.txt"))
You can simply use notepad.exe and pass the file name. Lines below opens up C:\test.txt
import os
os.system("notepad {}".format(r"C:\test.txt"))