automate stuff with python code example
Example 1: automate the boring stuff with python
Just go to the following link:
https://web.bii.a-star.edu.sg/~liangzhu/2017/11/02/linuxcommandline/automatetheboringstuffwithpython_new.pdf
note that you will need to wait a few seconds before you can access it
Example 2: automation in python
from selenium import webdriver
chrome_browser = launch_chromebrowser('chromedriver')
def launch_chromebrowser(browsername):
return webdriver.Chrome(browsername)
Example 3: Automate the boring stuff with python
Install & Use Selenium