is it generally possible to use an OpenVPN connection solely within the scope of a Python script?
E.g. have something like this
import some_ovpn_library as sol
with sol.connection(config=config):
# OpenVPN connection is only active for this part of the script and not for anything else that is running in parallel on the same server
do_something
Thanks!