Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project Resources: http://automatetheboringstuff.com/2e/chapter10/ https://towardsdatascience.com/10-python-file-system-methods-you-should-know-799f90ef13c2 https://www.journaldev.com/30205/python-os-library-functions https://www.python-course.eu/python3_file_management.php https://www.guru99.com/reading-and-writing-files-in-python.html Phase 0: Tell the user what the code is doing at runtime For every task, your Python code

Project Resources:

  1. http://automatetheboringstuff.com/2e/chapter10/
  2. https://towardsdatascience.com/10-python-file-system-methods-you-should-know-799f90ef13c2
  3. https://www.journaldev.com/30205/python-os-library-functions
  4. https://www.python-course.eu/python3_file_management.php
  5. https://www.guru99.com/reading-and-writing-files-in-python.html

Phase 0: Tell the user what the code is doing at runtime

  1. For every task, your Python code should display what it is about to do before starting, and inform the user when the task is done. This will also help you with the architecture of your code and debugging.

Phase 1: Automated creation of directories and files

  1. Create a directory named your1stname_yourlastname_DIR in the Documents directory of your computer.

  1. Inside the your1stname_yourlastname_DIR directory, automate the creation of directories and files according to the tree structure in Figure 1. You should find patterns and the file/folder names that would allow you to achieve this through a few loops. For instance, you may create variables such as folder and image and use them to generate names automatically.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions