title: How to set path of Auto IT in python
body: <p>I want to automate file upload through auto it library using selenium with python but I am getting the following error on executing the code:</p>
  <pre class="lang-sh prettyprint-override"><code>from .autoit import options, properties, commands
    File &quot;C:\Users\garima.madaan\PycharmProjects\TestPythonProject\venv\lib\site-packages\autoit\autoit.py&quot;, line 26, in &lt;module&gt;
      raise IOError(&quot;Cannot load AutoItX from path: %s&quot; % dll_path)
  OSError: Cannot load AutoItX from path: C:\Users\garima.madaan\PycharmProjects\TestPythonProject\venv\lib\site-packages\autoit\lib\AutoItX3.dll
  
  Process finished with exit code 1
  </code></pre>
  <p>Here is the code which I have written:</p>
  <pre class="lang-py prettyprint-override"><code>from selenium import webdriver
  from selenium.webdriver.common.by import By
  import autoit
  import time
  
  class Upload():
  
      def test(self):
          baseurl = 'https://easyupload.io/'
          driver = webdriver.Chrome()
          driver.get(baseurl)
          driver.maximize_window()
          driver.implicitly_wait(30)
          time.sleep(5)
          driver.execute_script(&quot;window.scrollBy(0,300);&quot;)
          time.sleep(5)
  
          #click on click here to drop files
          element1= driver.find_element(By.XPATH, &quot;//div[@class='upload-section']/form/div/button&quot;)
          element1.click()
          time.sleep(5)
  
          #select a file using autoit
          autoit.win_wait_active(&quot;Open&quot;)
          driver.close()
  
  a= Upload()
  a.test()
  </code></pre>