This respository helps you to understand basic python scripting for automation.
Please find some of my scripts, will add more scripts depends on general usage
Python Scripting for Automation