Python Forum
Creating more than one excel File at once - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: Creating more than one excel File at once (/thread-31489.html)



Creating more than one excel File at once - malvarez1976 - Dec-15-2020

HI. I have the following list:

list = ["Customer2", "Customer2", "Customer3"]

I need to create a new excel file with the name of each element in list. I will end with 3 excel files in this case

Can I use a for loop to create all new files? Which would be the code? Thank you for your support.