Python: Difference between revisions

From Squirrel's Lair
No edit summary
Line 4: Line 4:
.
.


==User Interface Automation==
== Windows automation ==
A rating:  https://github.com/pywinauto/pywinauto/wiki/UI-Automation-tools-ratings
[[Windows interface automation using Python]]
 
=== PyAutoGUI ===
* https://pyautogui.readthedocs.io/en/latest/quickstart.html
* https://automatetheboringstuff.com/chapter18/
 
find a screen shot:
pyautogui.locateOnScreen('findonscreen.png')
 
 
===Pywinauto===
Haven't tried this one, seems second most favourite
*https://pywinauto.readthedocs.io/en/latest/
 
 
== Browser manipulation ==
* https://www.selenium.dev/documentation/en/webdriver/
** https://www.selenium.dev/documentation/en/webdriver/browser_manipulation/
* to get selenium 4
**https://pypi.org/project/selenium/4.0.0a6.post2/#history


== pip ==
== pip ==

Revision as of 21:03, 2021 October 3

IDE

  • Idle
  • run program with the "Run" in the file menu

.

Windows automation

Windows interface automation using Python

pip

  • py -m pip install --upgrade pip

PyGame

  • py -m pip install pygame
  • py -m pip install --upgrade pygame

Setup

Setting up in windows

Setting up on a stick

Setup

  • expand on a stick

installing packages in winpython

  • open the winpython command prompt from the main winpython directory
  • run pip from there