« first day (1335 days earlier)      last day (823 days later) » 

8:50 AM
0
Q: How to pass a file content into def function in python instead of specifying 2 lists to compare?

belovednameI have a file with rows. Each line is split on "|". I want to compare and stack together lines which have same arguments 2,3 and 5,6. "arg1|arg2|arg3|arg4|arg5|arg6|arg7". I made a dictionary to compare arg2,3 on exact overlap. However, arg5 is requires .intersection, because not all its content ...

 

« first day (1335 days earlier)      last day (823 days later) »