Python Forum

Full Version: Very new to Python world
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am very new to Python and I would like to wright a script to allow openVpn to open a connection buy a customer number and pull the site key from a folder with the correct customer.


#Open VPN exe file loction#
ovpne= "c:\program files\OpenVPN\OpenVPN.exe"
#OpenVPN config file loction#
ovpnc= "c:\users\client.ovpn"
#List of sites#
site= 0001, sitename, siteIP, Port 1194 pull keys from c:\customer\0001\keys
site= 0002, sitename, siteIP, Port 1194 pull keys from c:\customer\0002\keys
site= 0002, sitename, siteIP, Port 1194 pull keys from c:\customer\0003\keys
A coworker wrote a program in C# But it does not pull new keys always the same key from a text file.
looking over all option they said i should just start over with python. not sure where to start
Any and all help would be appreciated. I can get old C# files if needed.