extracting duplicates from CSV file by specific fields

2009-04-28 Thread VP
Hi, I have a csv file: 'aaa.111', 'T100', 'pn123', 'sn111' 'aaa.111', 'T200', 'pn123', 'sn222' 'bbb.333', 'T300', 'pn123', 'sn333' 'ccc.444', 'T400', 'pn123', 'sn444' 'ddd', 'T500', 'pn123', 'sn555' 'eee.666', 'T600', 'pn123', 'sn444' 'fff.777', 'T700', 'pn123', 'sn777' How can I extract duplicat

Re: extracting duplicates from CSV file by specific fields

2009-04-28 Thread VP
Thanks guys! Tested, seems working. CSV file: - "a.a","sn-01" "b.b","sn-02" "c.c","sn-03" "d.d","sn-04" "e.e","sn-05" "f.f","sn-06" "g.g","sn-07" "h.h","sn-08" "i.i","sn-09" "a.a","sn-10" "k.k","sn-02" "i.i","sn-09" Source: - #!/usr/bin/env python import csv unqs = [] dups = []

Please advise me for a right solution

2009-06-15 Thread VP
Hi all, Please advise me for a right solution based on your experience. I need to create a web based inventory tool with specific requirements such as: * More then one group is going to use it. * Authentication and authorization system based on user and group privileges. For example based on a g