title: How to open a 'File' type file in python?
body: <pre><code>import os
  os.startfile('C:\\Some Location\\file.file')
  </code></pre>
  <p>When I am trying to run the above code the code gives an error as follows:-
  <strong>FileNotFoundError: [WinError 2] The system cannot find the file specified</strong></p>
  <p>While for the same location this code works perfectly for files with '.txt' extension.
  For eg,</p>
  <pre><code>import os
  os.startfile('C:\\Some Location\\file.txt')
  </code></pre>
  <p>This runs perfectly and opens the file.</p>
  <p>Please help me solve this issue, I think I am using the wrong extension for the file. The type of file is 'File'.</p>