All pastes #100232 Raw Edit

Miscellany

public text v1 · immutable
#100232 ·published 2006-07-25 23:02 UTC
rendered paste body
import xbmc, xbmcgui

emuData = []
class EMUL(xbmcgui.Window):
  def __init__(self):
    fh = open("Q:\\SCRIPTS\\TEST.TXT")
    self.cnt = 0
    for line in fh.readlines():
      self.cnt += 1
      print self.cnt
      emuData.append(line)
    fh.close()

mydisplay = EMUL()
mydisplay.doModal()
del mydisplay