I am not sure of real-life examples. IMO, Python is the most popular language used in many domains and one of the usages of python is to help in automating tasks, so it can be helpful in achieving automation in DevOps and few tools like ansible use python to develop the modules. You can write your own custom modules if you are aware of python.
Hope this helps.