Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: klok.dat file information #1358
    bobinouye51bobinouye51
    Participant

    @dmikusa wrote:

    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.

    Thanks for the info and code snippet. Very useful indeed!

Viewing 1 post (of 1 total)