If the file is on the same system or in a mapped network drive, it is quite simple: simply enter the file's 'path' into the FileUpload control.  driver = webdriver.Firefox()
element = driver.find_element_by_id("fileUpload")
element.send_keys("C:\\myfile.txt")