Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class IniDialog(BaseDialog):
- def AddControls(self):
- lbox = gizmos.EditableListBox( self.pane, -1, u"Edición de INI", (100,100), (250,250))
- with open("felec.ini") as f:
- lineas = [ linea for linea in f.read().split("\n") if linea ]
- lbox.SetStrings( lineas )
Add Comment
Please, Sign In to add comment