chiark
/
gitweb
/
~matthewv
/
irc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new trout from jtn & ceb https://www.theguardian.com/world/2020/sep/04/rare-sturgeon...
[irc.git]
/
karmaconvert.py
1
#!/usr/bin/env python2
2
3
import cPickle,sys
4
5
class Karma:
6
def __init__(self):
7
self.dict = {}
8
9
f=open(sys.argv[1],"r")
10
karma=cPickle.load(f)
11
f.close()
12
13
f=open(sys.argv[2],"w")
14
cPickle.dump(karma.dict,f)
15
f.close()