Windows

An article regarding Python on Microsoft Windows systems

An Intro to winshell

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 »

Python 101: Writing a cleanup script

Editor’s note: This is a guest post from Yasoob Khalid who authors the Free Python Tips blog So hi there guys! I hope you are fine. So what is in this post? Today we will be writing a cleanup script. The idea for this post came from Mike Driscoll who recently wrote a very useful

Python 101: Writing a cleanup script Read More »

TurboGears 2: Setting up on Windows

TurboGears is one of several web frameworks for Python that are available. The most popular by far is Django. Where I work, we chose TurboGears because of its integration with SQLAlchemy which supports composite keys. At that time, Django did not support that feature and I am not sure if it does yet. Anyway, I

TurboGears 2: Setting up on Windows Read More »

Python: Changing Microsoft Office User Initials

A couple of months ago at work, we received a report that a file was locked. The dialog that appeared showed the initials of a user who wasn’t even working for us any more. Thus we discovered an annoying bug that can crop up with Office. Basically, a user is asked by Word or Excel

Python: Changing Microsoft Office User Initials Read More »

SqlAlchemy and Microsoft Access

Update (10/12/2010) – One of my alert readers told me that SqlAlchemy 0.6.x currently does NOT support the Access dialect. Read here for more info. A year or two ago, I was asked to transfer some data from some old Microsoft Access files to our Microsoft SQL Server. Since I enjoy using SqlAlchemy, I decided

SqlAlchemy and Microsoft Access Read More »

How to Find and List All Running Processes with Python

The other day, I was tasked with finding a way to get a list of all running processes on a Windows XP virtual machine. I was also supposed to include information about how much CPU and memory each process used. Fortunately, this didn’t have to be a remote script, but one that could be run

How to Find and List All Running Processes with Python Read More »