One of the first scripts I had to help translate from Kixtart to Python was our map drives script. In it, we would map drives based on either which group the user was in and/or what a custom registry entry said. Here is a partial example of each of these categories in Kixtart: IF READVALUE("HKEY_LOCAL_MACHINE\SOFTWARE\MyOrg", […]
I became a computer programmer in the real world two years ago. To mark this anniversary, I thought I'd talk about some of the things I learned during my time so far. But before we get to that, I think some background is in order. My academic life included going to Iowa State University where […]
Today we're going to go over how to make your application do a "fade-in". One common place that Windows users see this is with Microsoft Outlook's email notification. It fades in and then back out. wxPython provides a way to set the alpha transparency of any top window, which affects the widgets that are placed […]
We've been discussing how to use OpenVPN with Python in the last two articles. In this final post, I'll show how to bring it all together into a GUI with some wxPython code. I'm also going to discuss some important snippets.
This is the 2nd part of a 3-part series on using wxPython + PyWin32 to grab the output from an OpenVPN session on Windows. In this article, I will show how how to start OpenVPN with Python and how to watch a file that OpenVPN writes its data logs to.
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 […]