# -*- coding: UTF-8 -*-
# 作者：huanhuilong
# 标题：Python 模块导入1
# 描述：通过 import 导入Python内置库


import json
from os import path
import datetime as dt
import time


def dump_json(obj):
    print(json.dumps(obj))


if __name__ == '__main__':
    obj = {
        'err': 'success',
        'result': ['item1', 'item2']
    }
    print(json.dumps(obj))

    print(path.abspath('.'))

    print(dt.datetime.now())

    import math
    print(math.ceil(1.3333))

    print(time.time())
