Python: Difference between revisions

From Squirrel's Lair
Line 26: Line 26:


== PyGame ==
== PyGame ==
* install:
* <code>py -m pip install pygame</code>
** <code>py -m pip install pygame</code>
* <code>py -m pip install --upgrade pygame</code>


== Setup ==
== Setup ==

Revision as of 09:05, 2021 April 23

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

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