GetPath to variable

Bruno Desthuilliers bruno.42.desthuilliers at wtf.websiteburo.oops.com
Tue Dec 11 07:01:30 EST 2007


Connolly a écrit :
> 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.

Could you please post the minimal working code reproducing your problem? 
And the full traceback if any ? Else we can only try to guess...




More information about the Python-list mailing list