Jul-15-2020, 03:06 PM
Also, better form not to print from within the function. Rather, print the returned value in the calling script
print(get_csv_as_table(userFileName, userDelimiter))Or, if you want to use the value and do something more with it
my_output = get_csv_as_table(userFileName, userDelimiter) print(my_output)Another nit pick - in naming your variables, it is considered proper form in Python to avoid camelCase and instead use underscores between_words_in_your variable names. Note how GOTO10 did that in his post above.