title: Changing Directory With Python, Directory Not Found Error
body: <p>I am trying to os.chdir() into system32 from python on windows, but when i attempt to change into this directory I am getting this error:</p>
  
  <pre><code>FileNotFoundError: [WinError 2] The system cannot find the file specified: 
  '/System32/
  </code></pre>
  
  <p>So obviously Python can't see this directory but I don't know why because os.listdir() shows this directory in the list. Does this have to do with the permissions that python has? Ultimately my goal is to change into the winevt directory to pull and dump the log files and to check for any errors, so any way to grab these is completely fine. My intuition was simply to change into the directory, open and read the log files and then check for errors, then print and report those errors.</p>