How to add an nDisplay configuration in python?

Hi! I have been trying for days to solve the following problem:I want to use python in a scene to add a nDisplayconfig, I hope you can help me!

Thanks!