On Dec 11, 5:42 am, "Connolly" <[EMAIL PROTECTED]> wrote: > Hey there, new Python user here. > > Currently, I'm working on a project in Python for my college work, I chose > to use Python since I heard of its great advantages, now for designing GUI's > I'm using the wxPython package. > What I'm trying to do at the moment is the following; > A file directory browser is created using self.dialong.ShowModal, when the > user chooses the folder they want to use for this program, then > self.dialong.GetPath is created, after this it (would) goes into a variable > and is stored in a config file I'm creating using the ConfigObj module. > My problem here is GetPath does not want to be stored in some kind of > variable, is there a specific method to put this string into a variable to > store in the config file. > > Thanks, > > - Connolly
Gabriel is correct. It needs the () at the end. Download the wxPython demo as it shows the basic usage of most of the widgets, including the FileDialog. Mike -- http://mail.python.org/mailman/listinfo/python-list