This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check how many users are *still* on IE6 | |
# Also check the other IE versions out of curiosity | |
ip_agents = {} | |
ip_counts = {} | |
for l in open('nginx_access.log'): | |
try: | |
ip, event = l.split(' - - ') | |
except ValueError: | |
continue |
NewerOlder