Jump to content

Python: Difference between revisions

From Squirrel's Lair
Ttenbergen (talk | contribs)
No edit summary
Ttenbergen (talk | contribs)
No edit summary
Line 1: Line 1:
==Setting up in windows==
* https://www.python.org/downloads/windows/
== Setting up on a stick ==
* https://sourceforge.net/projects/winpython/
Setup
* expand on a stick
? how to install ppyautogui


==User Interface Automation==
==User Interface Automation==
Line 18: Line 9:
find a screen shot:  
find a screen shot:  
pyautogui.locateOnScreen('findonscreen.png')
pyautogui.locateOnScreen('findonscreen.png')


===Pywinauto===
===Pywinauto===
Haven't tried this one, seems second most favourite
*https://pywinauto.readthedocs.io/en/latest/
*https://pywinauto.readthedocs.io/en/latest/




Line 31: Line 21:
* to get selenium 4
* to get selenium 4
**https://pypi.org/project/selenium/4.0.0a6.post2/#history
**https://pypi.org/project/selenium/4.0.0a6.post2/#history
== Setup ==
===Setting up in windows===
* https://www.python.org/downloads/windows/
=== Setting up on a stick ===
* https://sourceforge.net/projects/winpython/
Setup
* expand on a stick
==== installing packages in winpython ====
pip is in scripts directory, need to run it from there.

Revision as of 15:45, 2020 July 13

User Interface Automation

A rating: https://github.com/pywinauto/pywinauto/wiki/UI-Automation-tools-ratings

PyAutoGUI

find a screen shot: pyautogui.locateOnScreen('findonscreen.png')


Pywinauto

Haven't tried this one, seems second most favourite


Browser manipulation


Setup

Setting up in windows

Setting up on a stick

Setup

  • expand on a stick

installing packages in winpython

pip is in scripts directory, need to run it from there.