d49d8ac2133b40576618d1949bd1b3c4b6f8af53
2 # -*- coding: utf-8 -*-
4 lancement du lecteur de fichier de log minwii
9 from os
.path
import realpath
, sep
14 from optparse
import OptionParser
16 from logfilereader
import LogFilePlayer
18 usage
= "%prog logfile"
19 op
= OptionParser(usage
)
20 options
, args
= op
.parse_args()
22 op
.error("incorrect number of arguments")
26 lfp
= LogFilePlayer(args
[0])
31 # lr = LogFileReader(args[0])
33 # print lr.getSongFile()
37 if __name__
== "__main__" :
38 minwiipath
= realpath(__file__
).split(sep
)
39 minwiipath
= minwiipath
[:-2]
40 minwiipath
= sep
.join(minwiipath
)
41 sys
.path
.insert(1, minwiipath
)