All pastes #100234 Raw Edit

Miscellany

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

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

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