Interact with Flash using Python Mechanize
I am trying to create an automated program in Python that deals with Flash. Right now I a开发者_如何学编程m using Python Mechanize, which is great for filling forms, but when it comes to flash I don't know what to do. Does anyone know how I can interact with flash forms (set and get variables, click buttons, etc.) via Python mechanize or some other python library?
Nice question but seems unfortunately mechanize can't be used for flash objects
What you probably want to search for is how to control javascript in a page via python, which can control flash that was specifically designed to accept external javascript calls.
Refers to python-spidermonkey for starters: mechanize (python) click on a javascript type link
精彩评论