Category Archives: PyWin32

A post that discusses something to do with the PyWin32 module for the Python programming language

Reading OpenVPN Status Data with Python (1 of 3)

I’m doing a 3 part series on using wxPython and PyWin32 to capture output from a running OpenVPN session.

I use OpenVPN to connect to PCs at work. I noticed that our current method of launching OpenVPN was in a console window so that one could monitor the program’s output. If the user happened to close said window, it would end the VPN session. I thought this was dumb, so I decided that I would try wrapping the interface using wxPython in such a way that I can minimize it to the system tray and bring it back up on demand to check the output if I was having an issue. Continue reading Reading OpenVPN Status Data with Python (1 of 3)