I wanted to RefreshAll database connections in a number of excel files but i didn't want to run an Excel macro from within python. I just wanted one line of xlwings code.
I looked everywhere on SO, github, other forums and blogs but couldn't find it.
My answer is below for others who'll have the same issue in the future.