Jump to content

Python: Difference between revisions

From Squirrel's Lair
Ttenbergen (talk | contribs)
No edit summary
Ttenbergen (talk | contribs)
No edit summary
Tag: Manual revert
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
.
{{Skillset|Description=We have programmed some of our [[Raspberry Pi]] and [[Office Automation]] [[Projects]] in Python. }}
==User Interface Automation==
A rating: https://github.com/pywinauto/pywinauto/wiki/UI-Automation-tools-ratings


=== PyAutoGUI ===
* https://pyautogui.readthedocs.io/en/latest/quickstart.html
* https://automatetheboringstuff.com/chapter18/


find a screen shot:  
[[Category:Python| * ]]
pyautogui.locateOnScreen('findonscreen.png')
[[Category:Toolbox]]
 
[[Category:Software]]
 
[[Category:Office Automation]]
===Pywinauto===
[[Category:Raspberry Pi]]
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 ==
* <code>py -m pip install --upgrade pip</code>
 
== PyGame ==
* <code>py -m pip install pygame</code>
* <code>py -m pip install --upgrade pygame</code>
 
== 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 ====
* open the winpython command prompt from the main winpython directory
* run pip from there

Latest revision as of 17:32, 2021 November 22

We have programmed some of our Raspberry Pi and Office Automation Projects in Python.

Click any of the images for more about that project. {{#cargo_compound_query: tables=Project;fields=Project.mainImage,_pageName,shortDescription; where=Project.projectType HOLDS "Featured Project" and NOT(Project.projectType HOLDS "Personal Project") and Project.skillSet HOLDS 'Python' |tables=Project;fields=Project.mainImage,_pageName,shortDescription; where=Project.projectType HOLDS "Featured Project" and Project.projectType HOLDS "Personal Project" and Project.skillSet HOLDS 'Python' |tables=Project;fields=Project.mainImage,_pageName,shortDescription;where=NOT(Project.projectType HOLDS "Featured Project") and NOT(Project.projectType HOLDS "Personal Project") and Project.skillSet HOLDS 'Python' |tables=Project;fields=Project.mainImage,_pageName,shortDescription;where=NOT(Project.projectType HOLDS "Featured Project") and project.projectType HOLDS "Personal Project" and Project.skillSet HOLDS 'Python' |format=gallery |mode=traditional |caption field=shortDescription |alt field=_pageName |link field=_pageName |limit=1000 |show filename=0 |show bytes=0 |show dimensions=0 |default= }}