Is it possible to establish or enable VPN connection in opera browser programmatically using python?

I need to enable opera browser VPN programmatically using python .Is there any way to achieve it.