+# Convert number to scientific notation (e.g. 5e6).
+def s(x):
+ print "%e" % x
+
+
+# Time/Date functions.
+import time
+
+# Convert time in seconds since epoch to readable string.
+def stime(seconds):
+ print time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(seconds))
+
+