Screenshots in Mac OS X

Kevin Walzer kw at codebykevin.com
Tue Oct 22 18:16:55 EDT 2013


On 10/22/13 6:08 PM, Kevin Walzer wrote:
> On 10/22/13 4:15 PM, Pratik Mehta wrote:
>> Anyone there to help me out???
>>
>
> import os
> os.system('screencapture', 'foo.png')
>
>
...and see 'man screencapture' for options.

I leave setting up a Tkinter GUI with proper key bindings as an exercise 
for the reader.

-- 
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com



More information about the Python-list mailing list