I have a problem. I want to assign a path to a variable, so I did this:
customers = ["john", "steve", "robbert", "benjamin"]
for customer in customers:
dataset = "/var/www/test.nl/customer_data/" + str({customer}) + ".csv"
So I was hoping that the output of that variable would be:
/var/www/test.nl/customer_data/john.csv
But that's not the case, because the output I get is:
/var/www/test.nl/customer_data/set(['john']).csv
What am I doing wrong, and how can I fix this?