Processing files within the container

Recipe Difficulty: Medium

Python Version: 2.7

Operating System: Linux

Now that we can iterate through a filesystem, let's look at how we can create file objects as we have been accustomed to doing. In this recipe, we create a simple triage script that extracts files matching specified file extensions and copies them to an output directory while preserving their original file path.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.227.114.125