T
tcronj
Have reasently upgraded to PySQLite 0.5.
I now have to "typecast" returned values to the "string expecting" GUI
widgets (wxPython).
Afrer reading the explanation, I'm still not clearer wich is better to
use... str() or repr()
example: self.wxTextCtrl.Setvalue( str(val["typedate"]))
## or repr(val["typedate"])
self.wxTextCtrl.Setvalue( str(val["typefloat"]))
## or repr(val["typefloat"])
TIA.
T
I now have to "typecast" returned values to the "string expecting" GUI
widgets (wxPython).
Afrer reading the explanation, I'm still not clearer wich is better to
use... str() or repr()
example: self.wxTextCtrl.Setvalue( str(val["typedate"]))
## or repr(val["typedate"])
self.wxTextCtrl.Setvalue( str(val["typefloat"]))
## or repr(val["typefloat"])
TIA.
T