Code in python the equivalent of the VB Format function

Discussion created by jsn on Jan 14, 2011
Latest reply on Apr 1, 2011 by kpzimmer
Hi all

I am using ArcGIs 9.3 and Model Bulder. I was able to code a calculate field in VB that formats a field as follows Format("08.00.00") and converts it to "08:00:00 AM"

How can I do the same thing in Python (phyton 3 or python)?

Please advise!