-
How to convert datetime with timezone to timestamp?
By Loic Baron on February 27, 2018import dateutil.parser from datetime import datetime, timedelta, timezone epoch = datetime(1970, 1, 1, tzinfo=timezone.utc) sDate = "2018-02-27T14:03:15Z" dt =...
0 -
Tornado: upload multipart/form-data including both file and JSON data
By Loic Baron on November 23, 2017Using Tornado as a web server, you can receive a Form composed of multiple items including both file and...