Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~16.9K People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for franj776

As stated by DeBlanc, line 23, but there are also missing curly braces **}** at the bottom. I think you are missing **one curly brace** at the bottom as well. Todd

Member Avatar for JamesCherrill
0
512
Member Avatar for RAZ_2

RAZ_2 Is this the correct code, I want to run this code to extract information from my /var/log/audit/audit.log file. blacklist = list(open('/var/log/audit/black_ip.log', 'r').read().split('\n')) logfile = list(open('/var/log/audit/audit.log', 'r').read().split('\n')) newip = [] def entry_to_second(entry): return entry.split('.', 1)[0] newip = [] c = Counter() logfile = sorted(logfile, key=entry_to_second) # <--- sort the logfile …

Member Avatar for tdsan
0
16K

The End.