python automation scripts code example
Example 1: automation in python
from selenium import webdriver
chrome_browser = launch_chromebrowser('chromedriver')
def launch_chromebrowser(browsername):
return webdriver.Chrome(browsername)
Example 2: python script for automation
mkdir food, food\fruits, food\fruits\apples, food\fruits\oranges, food\vegetables
Example 3: 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