captions = []
for objItem in colItems:
if objItem.Caption != None:
print("Caption:" + objItem.Caption)
print("Command:" + objItem.Command)
print("User:" + objItem.User)
captions.append('<p>{}<p>'.format(objItem.Caption))
captions = '\n'.join(captions)
return self.wfile.write(captions.encode('utf-8'))
from datetime import datetime
d1 = datetime(2018, 12, 15, 13)
d2 = datetime(2018, 12, 15, 18)
delta = d2 - d1
print(delta.seconds)
s = "text text : one two three"
print(s[s.find(":") + 1 : ])