On 2007-02-03, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I am trying to work out a regular expression in a PyQt
environment for time in hh:mm:ss format. Any suggestions?
After you find your time in hh:mm:ss format, be sure to check out
time.strptime for a quick conversion.
--
Neil Cerutti
--
On Feb 3, 11:40 am, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote:
In [EMAIL PROTECTED], vishal wrote:
I am trying to work out a regular expression in a PyQt environment for
time in hh:mm:ss format. Any suggestions?
Maybe don't use a re for something that simple. Splitting at ``:``
Hello All:
I am trying to work out a regular expression in a PyQt environment for
time in hh:mm:ss format. Any suggestions?
Thanks,
Vishal
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] schrieb:
Hello All:
I am trying to work out a regular expression in a PyQt environment for
time in hh:mm:ss format. Any suggestions?
Yes. Read the manual to the re-module. There is _nothing_ special about
PyQt and regexes. And provide code. But the most important thing -
In [EMAIL PROTECTED], vishal wrote:
I am trying to work out a regular expression in a PyQt environment for
time in hh:mm:ss format. Any suggestions?
Maybe don't use a re for something that simple. Splitting at ``:``
characters, converting to `int` and checking the value ranges isn't that
hard