Skip to content
Advertisement

Tag: notepad++

After calling NotePad++ using subprocess, Python won’t start executing other codes until I close the Notepad program

I am trying to open a .txt file using NotePad++ in Python IDE using subprocess.call function. One issue I needed help is that once I execute below codes: subprocess.call([r”C:Program FilesNotepad++notepad++.exe”, r”C:locationmyfile.txt”]) Python won’t start executing other codes untiless I close the Notepad++ program. I have to use Ctrl+C to stop it. What I am trying to do here is to

Advertisement