Created
October 27, 2010 14:43
-
-
Save batok/649151 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment