Sunday, March 27, 2011

how to parse string in django

hi django experts,

how do I strip the following string in python (Charfield format)

14:00
3:00

wherein I could compare the results - convert in integer:

if 14 > 3 . . .

thanks in advance!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment