def web_upload_file(self, filepath):
"""????(??flash????)
filepath ?????????????????????????${CURDIR}${/}Res${/}Plus_Web${/}pic0.jpg
${CURDIR}????????????
RF?filepath???????unicode
??????????????????????????????????
| Web Upload File | ${filepath} |
| Web Upload File | ${CURDIR}${/}Res${/}Plus_Web${/}pic0.jpg |
"""
filepath=os.path.abspath(filepath)
change = str(filepath)
time.sleep(1)
self._handle = win32gui.FindWindow(None, u"??")#??“??”?????
win32gui.SetForegroundWindow(self._handle)#??????
SendKeys.SendKeys(change)
time.sleep(1)
SendKeys.SendKeys("{ENTER}")
_webkeywords.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录