GetPath to variable
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 -- http://mail.python.org/mailman/listinfo/python-list
issues with searching through dictionaries for certain values
Hey,
Right basically I've got to the end of my main section of my program an I've
got it comparing the same dictionary to ensure that the values are the same
(sounds stupid I know), yet what my line of code I am using to do this is
failing to do is to check every single value. It is only checking the final
value in my dictionary, if you require more info than this feel free to say
but any help would be appreciated.
Code in use is displayed below.
f4 = files_stored[0]
f5 = files_stored[0]
for key in f4:
for items in f5:
if key == items:
f6 = {start+1: key}
final_dict.update(f6)
else:
print key, 'false'
print final_dict
--
http://mail.python.org/mailman/listinfo/python-list
ODBC links?
Lo' there. I'm a new user of Python, what I'm looking for is an easy way to create ODBC links to Access databases (obviously, Access isn't the best database out there I can use, but its easiest to just piece together for this quick project). What modules would I want to be looking for to create an ODBC link? S. C -- http://mail.python.org/mailman/listinfo/python-list
