From the course: Using Python for Automation (2019)

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Using Python for file automation

Using Python for file automation - Python Tutorial

From the course: Using Python for Automation (2019)

Using Python for file automation

- [Instructor] Automating file, folder, and terminal interactions with Python is a valuable skill, whether you're a data scientist, or just trying to optimize your workload. The inclusions of these skills gives added depth to your Python interactions because your scripts are no longer bound to themselves. For instance, writing files with Python is critical as datasets can now persist even after the program is finished running. Or perhaps you work with large directories that contain tons of files and file types. Automating terminal commands can give you the ability to instantly organize any messy directories into categorized subdirectories. In combination, these skills allow your Python scripts to fully automate many basic processes while also giving them the outlet to preserve information even after their execution. So, make sure to download the exercise files as these will be used throughout this chapter. However, no external libraries are needed.

Contents