Use Python to create a subfolder structure from a 2-column CSV file (only tested on Windows)


04 Mar
04Mar

I am not sure about you, but I find myself with lots of resources that are not always organised according to the course specification. Sometimes, I wished that I had a folder structure that followed my scheme of work or course components with numbers, etc.

It would also be great if each of these folders had two subfolders for teaching resources and assessment activities, respectively...

Well, I can code in Python, can't I?

Here you will find the program and the folders I created on the test run which correspond to the section of OCR GCSE Computer Science 9-1, the J276, but if you change the data in the included csv file, it will create whatever folder and subfolders you want.


Have fun and let me know how it goes! 

Comments
* The email will not be published on the website.