There are python scripts which add the data to Splunk , index it, query it etc.
In the similar way can we create a dashboard in Splunk through a python program
@guru_mahesh
You can use REST API to create and update the dashboards. Please check below link for same.
https://docs.splunk.com/Documentation/Splunk/7.2.0/RESTREF/RESTknowledge#data.2Fui.2Fviews
@kamlesh_vaghela
Can we use python script to automate dashboard permissions in splunk?
Yes, You can use Splunk REST Api in python script to change dashboard permissions.