Python 101: Setting Up Python on Windows Screencast
I created my first screencast based on an old article I wrote about setting up Python on Windows.
Python 101: Setting Up Python on Windows Screencast Read More »
I created my first screencast based on an old article I wrote about setting up Python on Windows.
Python 101: Setting Up Python on Windows Screencast Read More »
Today we will look at Tim Golden’s handy package, winshell. The winshell package allows you to find special folders on Windows, create shortcuts easily, work with metadata via “structured storage”, use the Windows shell to accomplish file operations and work with the Windows Recycle Bin. We will focus on the special folders, shortcuts and the
An Intro to winshell Read More »
Occasionally you will need to know what version of software you are using. The normal way to find this information out is usually done by opening the program, going to its Help menu and clicking the About menu item. But this is a Python blog and we want to do it programmatically! To do that
PyWin32: How to Get an Application’s Version Number Read More »
Back in my system administrator days, we were thinking about setting the user’s Window desktop background to a specific image on login. Since I was in charge of the login scripts, which were written in Python, I decided to do some research to find out if there was a way to do it. We will
PyWin32: How to Set the Desktop Background on Windows Read More »
I recently saw someone asking how to bring a window to the front in Windows and I realized I had had some old unreleased code that might help someone with this task. A long time ago, Tim Golden (and possibly some other fellows on the PyWin32 mailing list) showed me how to make windows come
PyWin32 – How to Bring a Window to Front Read More »
The other day I was trying to figure out a way to monitor the print queue on Windows. The task at hand was to keep track of what documents went to the printer and completely successfully. The idea was that when the print completed, the document would then be archived. To do this sort of
PyWin32 – How to Monitor the Print Queue Read More »
Python is pretty easy to install on Windows, but sometimes you need to do a few extra tweaks to really get the most our your development environment. In this article, we will try to cover all the common things you might want to do or install to get an ideal Python Windows development workspace set
Python 101: Setting up Python on Windows Read More »
Last week, there was an interesting thread on the PyWin32 mailing list about how to read Microsoft Access databases with Python without having Access actually installed. Vernon Cole had the solution, but I noticed that Google doesn’t seem to index the PyWin32 list very well, so I decided to write about it here.
PyWin32: adodbapi and MS Access Read More »
A lot of websites are doing year-end retrospectives this week, so I thought you might find it interesting to know which articles on this blog were the most popular this year. Below you will find links to each article along with the page view count I got from Google Analytics: A Simple Step-by-Step Reportlab Tutorial,
Top Ten Articles of 2010 Read More »
The other day, there was a post on one of the mailing lists that I follow about accessing the Windows Event Logs. I thought that was an interesting topic, so I went looking for examples and found a pretty nice example on ActiveState. In this article, you’ll find out what I discovered.
PyWin32: Getting Windows Event Logs Read More »
Most typical users have used Microsoft Office. While Office may be the bane of tech support, we still have to deal with it. Python can be used to script (AKA automate) Office and make it easier for us or our users to use. It may not be as easy as recording a macro, but it’s
Python and Microsoft Office – Using PyWin32 Read More »
The other day, I received a request to create a script that could tell how long a Windows XP machine had been idle and to alert the user if it had been idle for a certain amount of time. I did a little research with Google and found a couple of ways to accomplish this
Python: How to Tell How Long Windows Has Been Idle Read More »