title: Open file with very long path
body: <p>I am trying to open multiple files on Windows 10 with PIL. 
  Each of these files have a very long hash combinations as their name. 
  Storing them directly in:</p>
  
  <p><code>C:\\Users\\my-user-name\\PycharmProjects\\MyProject\\.........</code></p>
  
  <p>works, but as soon as I place them in one additional sub level, e.g.:</p>
  
  <p><code>C:\\Users\\my-user-name\\PycharmProjects\\MyProject\\sub-folder\\.........</code></p>
  
  <p>it is no longer possible to open them because the string becomes to long.</p>
  
  <p>According to <a href="https://stackoverflow.com/questions/29557760/long-paths-in-python-on-windows">Long paths in Python on Windows</a> I tried to add \?\ in front of the path, e.g.:</p>
  
  <p><code>f = '\\?\C:\\Users\\my-user-name\\PycharmProjects\\MyProject\\sub-folder\\...'
  Image.open(f)</code></p>
  
  <p>but unfortunately it does not work for me.</p>
  
  <p>Any suggestions?</p>