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
Problem One: Exploring Lake Pend Oreille
Problem Two: Image Analysis
Problem Three: Eight Queens
Problem Four: Accessing Peripherals
Problem Five: Recursion and Directories
Problem Six: Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.