Hi Guys, I am New to pyqt, I have tried auto update label  value, How
to do this, I Have create my project with tab-widget, I have click the
nexttab the time value will update. I will stay some time in same
page. It's shows the old time,

How to update current time with label please guide me guys.

In [9]: x= datetime.datetime.now()

In [10]: date = x.strftime("%I:%M %p")

In [11]: print date
02:57 PM

How to do with pyqt stuff.

-Ganesh.

Did I learn something today? If not, I wasted it.
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to