top of page
  • Writer: VC Healy
    VC Healy
  • Aug 1, 2020
  • 1 min read

Following on from my code to create multiple folders. For this time I wanted to copy a few files into each of the 300 folders.

  • Extracted the names of subfolders (#list_folders_files).

  • Sliced the list down to the folders that were of interest. (

  • See the #Tests to get the full list).

  • Copied a set of files to each named folder.

Note: I was able to copy the files over to network drives.



 
 
  • Writer: VC Healy
    VC Healy
  • Jul 31, 2020
  • 1 min read

Zipping Lists and joining the tuples


 
 
  • Writer: VC Healy
    VC Healy
  • Jul 31, 2020
  • 1 min read

I needed to create 300 folders, all numbered 1 -> 300. I found a post showing how to create one folder. I took that and I expanded upon it with a range (1, 300) and got exactly what I wanted.


Then I got thinking, what if I was creating folders like this for a group of employees, MCC members etc. Something that I could quickly get a list of names for. A little hun around the web and I found three lists male(300 of), female(60 of) and surnames(1000 of). Far too much information to clutter up the main file, therefore I created a module and imported that.


Worked great for me, files created in seconds, even for the 1000 surnames.



 
 

© 2020 by Vincent Healy. Proudly created with Wix.com

bottom of page