It’s common that we need to process data in csv format. We will use the csv library to read csv file. Here is a sample code for read data from csv file and print each row.
Tag: csv
List all csv file in current directory
I need to list all csv file in a directory and I have to goole how to do it every time I need it. So I’ll write a post to remind myself. Since I only want to list file in current directory not any sub directory. I have to use the maxdepth flag, as find… Continue reading List all csv file in current directory