Take Snapshots using Python

1 2 3 import ImageGrab img = ImageGrab.grab() img.save(’arkadian.png’,’PNG’)import ImageGrab img = ImageGrab.grab() img.save(‘arkadian.png’,’PNG’) A quick and easy way to take a snapshot of your current window. You can always use JPG, but the quality is better in PNG. Works in Windows and requires PIL.

Merging pdf files in Python with pyPDF

Here is a very simple python script that marges two pdf files, using the pyPDF library. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 import os.path import pyPdf   pdfOne = "C:\\a.pdf" pdfTwo = "C:\\b.pdf"   merged = "C:\\c.pdf"   […]

Using dropbox at work

With the arrival of the iPads, we’ve been changing many of our processes in order to put information on the fingertips of our senior mgmt team. Our key app right now is Dropbox and we convert most of the files to pdf. Dropbox is a great little tool, as it enables us to update files […]

Python & Gnuplot & AHK & Processing

Gnuplot is a great command line tool that creates very quickly graphs from data files. The official site of Gnuplot is: http://www.gnuplot.info/ . To see examples of graphs produced by Gnuplot, you should have a look here: http://gnuplot.sourceforge.net/demo_4.4/. Using python and gnuplot, I produced approx 80 graphs similar to the one below, that fitted nicely […]