blob: 5151234258bddcfd4b653759d7e8465500c3d1e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/python
from datetime import datetime
from ZSI.client import Binding
b = Binding(url='http://localhost:8000/')
t = b.today (5)
# t = 2014-02-18 15:59:50.571927
conv = datetime.strptime (t, "%Y-%m-%d %H:%M:%S.%f")
print "Today: %s" % conv.strftime ("%d.%m.%Y, %H:%M")
print b.load ("string")
|