Home › Forums › Get Help for Klok › klok.dat file information › Reply To: klok.dat file information
March 2, 2009 at 4:03 pm
#1357
Anonymous
Inactive
Thanks for the info. I was able to read the file using Python and PyAMF. In case anyone is interested, here is a code sample.
from pyamf.amf3 import decode
from pyamf.util import StringIOProxy
proxy = StringIOProxy(open('klok.dat', 'rb').read())
data = decode(proxy).next()
The ‘data’ object will then contain the data tree as read from the klok data file. After that it is just a matter of traversing the tree to get what information you need.