Join Barron Stone for an in-depth discussion in this video Solution Overview, part of Code Clinic: Python.
- My solution for this Code Clinic challenge…is a Python script called captionsort.py…which interfaces with a third-party utility…for reading Exif data from images called ExifTool.…When you run the script it'll present you…with a simple user interface here.…You can use the Browse button next to the top entry field…to select the Source Directory, that is the directory…containing the image files to be sorted…and the program will search this directory recursively.…So if you have images buried in sub-folders…within that folder, it'll still find them and sort them.…
The entry field below that functions the same way…and lets you specify the Destination Directory…which is where the program will create…the sort folders and put the images.…If you leave the box below it checked…then the program will copy the images…from the source directory into their appropriate folders…in the destination directory, and if you uncheck it…then the images will be moved rather than copied.…Now before I run this script, I wanna show you…
Barron introduce challenges and provides an overview of his solutions in Python. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Visit other courses in the series to see how to solve the exact same challenges in languages like C#, C++, Java, PHP, and Ruby.
Skill Level Intermediate
Q: Why can't I access the Lake Pend Orielle site (http://lpo.dt.navy.mil)?
A: The Lake Pend Orielle site is not accessible in some geographical areas. We have contacted the owner of the server to try to resolve this issue.
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S