On ma, 2010-02-08 at 13:02 -0800, bevan j wrote:
> data = '1/09/1978 1:00:00 a.m.' 

If you know this will always be in the form of 'a.m.' you can replace it
with 'am' by data.replace('a.m.','am').

Greets
Sander

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to