automation using 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: python script for automation
mkdir food, food\fruits, food\fruits\apples, food\fruits\oranges, food\vegetables
Example 4: python script for automation
new-item food\fruits\banana.txt, food\fruits\strawberry.txt, food\fruits\blueberry.txt, food\fruits\apples\honeycrisp.txt, food\fruits\oranges\mandarin.txt, food\vegetables\carrot.txt