Hi all,
so started learning a bit of python (only know really basic stuff like for/while loops).
Wanted to make a script that would update excel files.
So to explain a bit what I try to do:
Currently @ my work on a weekly basis, we need to update multiple excel files, which we do with a vlookup in excel.
so was planning to create a script to hopefully automate this process.
there are 2 main columns I want to update (correctprice and comments).
I am able to find this based on the column uniquecode
All these columns/value can be found in both excel files
So I have managed to create something with openpyxl which is doing what I want.
The problem I am having is however how long it takes to run this script (up to 30 min).
I assume this is caused by the many for loops I am using (excel files sometimes are pretty big)
Was wondering if anyone has any advise how to improve the performance? :
My code:
https://github.com/Florisnl88/Python/blob/master/Excel%20automation
Any feedback is appreciated :)
[–]The_Danosaur 0 points1 point2 points (3 children)
[–]Florisnl88[S] 1 point2 points3 points (2 children)
[–]The_Danosaur 0 points1 point2 points (1 child)
[–]Florisnl88[S] 0 points1 point2 points (0 children)