In my script I want to include a path to a file. This path should change according to the argv[1] given. Within this map I want to have the exact path of the .csv file.
So to illustrate of what I want is: x = /local/data/[argv[1]]/[whatever].csv
This is what I tried so far:
name= argv[1] x = '/local/data/predictions/hats/{}/*.csv'.format(name)
The problem is that it does not seem to recognize *.csv as a wildcard.
printing x with argv[1] = foo gives: '/local/data/predictions/hats/foo/*.csv'