#!/usr/bin/python3 # -*- coding: utf-8 -*- import io, sys, cgitb, html cgitb.enable() sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding="utf-8") print("Content-Type: text/html; charset=utf-8\n") from settings import get_fiscal_settings def h(s): return html.escape(str(s)) def build_options(selected): buf = [] for m in range(1, 13): sel = "selected" if m == selected else "" buf.append(f'') return ''.join(buf) cfg = get_fiscal_settings() print(f""" 初期設定

初期設定

開始月・最終月・決算月を設定できます。月表示の並びには開始月が使用されます。

戻る
""")