How to open a file in its default program with python
<p>I want to open a file in python 3.5 in its default application, specifically 'screen.txt' in Notepad.</p>

<p>I have searched the internet, and found <code>os.startfile(path)</code> on most of the answers. I tried that with the file's path <code>os.startfile(C:\[directories n stuff]\screen.txt)</code> but it returned an error saying 'unexpected character after line continuation character'. I tried it without the file's path, just the file's name but it still didn't work.</p>

<p>What does this error mean? I have never seen it before.</p>

<p>Please provide a solution for opening a .txt file that works.</p>

<p>EDIT: I am on Windows 7 on a restricted (school) computer.</p>