Automating file upload using Selenium and pywinauto
Try following code and let me know in case of any issues:
WebDriverWait(self.driver, 10).until(EC.element_to_be_clickable((By.XPATH, '//input[@type="file"][@name="qqfile"]'))).send_keys("/path/to/Gandalf.jpg")
P.S. You should replace string "/path/to/Gandalf.jpg"
with actual path to file