This should be a tutorial on how to capture OS stats like per process memory usage with the help of pywin32.