On 7/19/2014 12:14 PM, Mark Lawrence wrote:

Is this what you intended?


I'm in the process of generalizing a library module from my first Python programming project to make it more accessible to other projects. The code I wrote for that project doesn't make sense anymore. As I generalize the library module, I'm also cleaning up the calling code from that project and other scripts.

The corrected version of the string function should be:

def format_completed_time(start, end):

         return "Time completed: " + str(end - start)

Chris Reimer
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to