csv - Python and popup windows -
i have searched days , tried many incorrect solutions. have python script used upload csv file website. website has added popup box must addressed before upload can begin. how detect popup box , simulate "ok" click? have check , rechecked file correct (it upload if done manually). script hosted on godaddy , p.. i.. t.. a.. host run.i not familiar python didn't think difficult. yes tried:
from evdev import uinput, ecodes e uinput.uinput() ui: ui.write(e.ev_key, e.key_enter, 1) ui.write(e.ev_key, e.key_enter, 0) ui.syn()
and not work! found smippit doesn't work either:
import thread import time def keypress(): global char char = chr(13)
Comments
Post a Comment