How to open Notepad file using Python 😮
This is the code down below to open Notepad
file using Python.
I have save the notepad file name as Example
You enter the filename
which to want to open
using python
# How to open Notepad file using python
import subprocess as sp
programname = "notepad"
filename = "Example.txt"
sp.Popen([programname, filename])
3 Comments
Click here for CommentsNice ����
Replynice code
ReplyGreat 👌
ReplyConversionConversion EmoticonEmoticon