#!C:\Python36\python.exe # -*- coding: utf-8 -*- import json print("Content-Type: text/html") print("") JSON = { "uptime": "0 дн. 0 ч. 1 мин.", "model": "BT-6711", "prodate": "10.02.2021", "fwversion": "v 3.0", "macaddr": "EC-4C-4D-00-80-0A", "serno": "7020000", "sysname": "576", "owner": "test1234567890test3test1234567890test3t1234567890", "sysLocation": "", "comment": "test1234567890test3test1234567890test3t12345678901234567890-=+_`~?/.,<>|\:;*@#!%&^()[]{}\/test1234567890test3", "ups_model": "RTMP-IIv15", "ups_sn": "test1234", "ups_fwversion": "V8", "netsettings_changed": "false" } print(json.dumps(JSON))