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.
Python
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" […]
Eli Bendersky has three interesting posts on plotting data with Python and matplotlib: matplotlib-plotting-with-python matplotlib-with-wxpython-guis matplotlib-with-pyqt-guis Thanks for sharing Eli!
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 […]
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 […]
You can find a lot of tutorials on Python, but these is a pretty good one (actually 7) from Nick Parlante from GoogleDevelopers on youTube – here is the link to the first one: http://www.youtube.com/watch?v=tKTZoB2Vjuk. This is a really a great tutorial for beginners. The book I’m using as my main python textbook (and would […]