Skip to content Skip to sidebar Skip to footer

Using Python To Automate External Program

Whats the best Python library to automate an external program We have accounting software where we need to upload many files into for a particular reason. To do this we search for

Solution 1:

I haven't done such thing. So I do not have proof of concept. But You have at least 2 options, more or less complicated:

  1. install virtualbox/vmware, and create virtual operating system (windows or Linux) on it. Then run your pyautogui script in this virtual operating system. You operating system is available in window-like container - so you can minimize this window with running script, and you system where you can interact as a user. (long tutorial: https://www.virtualbox.org/manual/ch01.html)

  2. If you are Linux user, then you may be familiar with virtual screen. I think many people are using this virtual screen with automating web testing in sellenium (How do I run Selenium in Xvfb?). So probably, I say probably, there is chance to run pyautogui in virtual screen: How to attach pyautogui to the virtual display? - this is similar, but not answered question.


Post a Comment for "Using Python To Automate External Program"