title: AttributeError: partially initialized module 'pathlib' has no attribute 'Path' (most likely due to a circular import)
body: <p>I'm trying to make a simple program using the pathlib directory, but every time I try to run it I get this error. I already tried uninstalling and reinstalling Path.py and pathlib itself. Nothing seems to work.</p>
  <pre><code>import pathlib
  
  
  path = pathlib.Path('ecommerce')
  print(path.exists())
  </code></pre>
  <p>Here's the code if anybody needs it, but as I said, I just wanted to try out this module and the program itself doesn't do anything.</p>
  <p>Also, here's the entire log:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;C:\Users\Dave\Desktop\Programming\Python\pathlib.py&quot;, line 1, in &lt;module&gt;
      import pathlib
    File &quot;C:\Users\Dave\Desktop\Programming\Python\pathlib.py&quot;, line 4, in &lt;module&gt;
      path = pathlib.Path('ecommerce')
  AttributeError: partially initialized module 'pathlib' has no attribute 'Path' (most likely due to a circular import)
  </code></pre>