csvfilter icon indicating copy to clipboard operation
csvfilter copied to clipboard

Python3 compatible version

Open ebouhdadi opened this issue 3 years ago • 2 comments

Since Python2.7 is deprecated, I used pip3 to install csvfilter. I noticed that it outputs only the first ligne of my csv file:

csvfilter -f 1,3,5 test.csv ScanDate,DependencyPath,License

ebouhdadi avatar May 06 '21 14:05 ebouhdadi

+1

neoromantique avatar Mar 16 '22 20:03 neoromantique

In "init.py" "Processor.init" the variable field must be converted into a list. So change the following line.

self.fields = fields to self.fields = list(fields)

Worked for me

rsasum avatar Mar 23 '23 12:03 rsasum