Guest User

Untitled

a guest
Jun 19th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. class IniDialog(BaseDialog):
  2. def AddControls(self):
  3. lbox = gizmos.EditableListBox( self.pane, -1, u"Edición de INI", (100,100), (250,250))
  4. with open("felec.ini") as f:
  5. lineas = [ linea for linea in f.read().split("\n") if linea ]
  6. lbox.SetStrings( lineas )
Add Comment
Please, Sign In to add comment