[Boa Constr] wx.progressdialog
Status: Beta
Brought to you by:
riaan
From: Fernando P. <fer...@bm...> - 2008-06-12 14:44:49
|
Hello All I am trying create a wx.ProgressDialog to get informations while to connect in mysql. see the code. dbPath = {"ip":ipServer, "user":"theuser", "pass":"thepass", "db":"mybd" } try: dbCon = MySQLdb.connect(dbPath["ip"], dbPath["user"], dbPath["pass"], dbPath["db"]) dlg = wx.ProgressDialog("Connecting...", "Trying connect", parent = self, maximum = dbCon # here i need a int ) while not dbCon: dlg.Update() thats not work. Any idea ? |