title: python: "TypeError: expected str, bytes or os.PathLike object, not list" when open file
body: <p>I try to read my input file. </p>
  
  <pre><code>Myfile = list(input("Please enter a filename with full dir: "))
  fp = open(Myfile)
  sstr = fp.read()
  </code></pre>
  
  <p>but always show the error:</p>
  
  <pre><code>"D:\Program Files\Python\python.exe" D:/Onebox/Python/my_help_doc/guo.py
  Please enter a filename with full dir: 'E:\个人\郭周诺\Python\guo-python.txt'
  Traceback (most recent call last):
    File "D:/Onebox/Python/my_help_doc/guo.py", line 7, in &lt;module&gt;
      fp = open(Myfile)
  TypeError: expected str, bytes or os.PathLike object, not list
  
  Process finished with exit code 1
  </code></pre>