Jan-06-2020, 05:18 PM
Well, file_list is a list, while replace is a method of strings. You can't use a string method directly on a list of strings, you have to loop through the list and apply it to each of the strings individually.
You might always want to look at the maketrans method of strings.
You might always want to look at the maketrans method of strings.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures