Question: Write a python script that will create the following directory structure in the local folder: Within each of the numbered folders, create a file called

Write a python script that will create the following directory structure in the local folder: Write a python script that will create the following directory structure in Within each of the numbered folders, create a file called info.txt that contains the text This file is in folder . where is A, B, or C and is 1, 2, 3, or 4. You will need to use the os module and some nested for loops. Use the write function to create the .txt files rather than shell commands.

1234 1234 1234

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!