I have a Folder with 3 different csv Files like:
car.csv
home.csv
and company.csv
I have a code where i can read the values from the csv files like:
with open(car.csv, 'r') as carData:
.....
What i want is: that my code should open the first car.csv and do the stuff (myfunction) and then read the next home.csv file and then the company.csv File.
And the end i want to have 3 different text Files.
What i want is:
inputData = './*csv'
So my code can read the file without i do it like inputData='./car.csv'
The second thing i want to have is:
when i have 3 csv files in one directory my code should read the first one and loop through my functions and output a text file. After it it should read the second csv file an do it as the first one