wx.progressdialog
"Fernando Paiva" <[email protected]>
| Newsgroups | gmane.comp.ide.boa-constructor.user,gmane.comp.python.wxpython |
|---|---|
| Message-ID | <009f01c8cc9a$da8cce70$fe01a8c0@negao> |
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 ?
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Boa-constructor-users mailing list
Boa-constructor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/boa-constructor-users