This file contains 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
import datetime | |
import sys | |
def getFiletime(dt): | |
microseconds = int(dt, 16) / 10 | |
seconds, microseconds = divmod(microseconds, 1000000) | |
days, seconds = divmod(seconds, 86400) | |
return datetime.datetime(1601, 1, 1) + datetime.timedelta(days, seconds, microseconds) |
This file contains 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
var players = {} | |
$("table#clubplayer > tbody > tr:not(:first-child) > td:first-child > a").each(function(){ | |
console.log(players); | |
var player = $(this).text(); | |
if (player in players){ | |
players[player] += 1; | |
} | |
else{ | |
players[player] = 1; | |
} |