{"url":"https://blog.systemjp.net/entry/2023/03/30/162338","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2023%2F03%2F30%2F162338\" title=\"python\u3067windows\u6642\u8a08\u540c\u671f - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://blog.systemjp.net/","title":"python\u3067windows\u6642\u8a08\u540c\u671f","provider_url":"https://hatena.blog","type":"rich","image_url":null,"provider_name":"Hatena Blog","categories":[],"author_url":"https://blog.hatena.ne.jp/shikaku/","version":"1.0","published":"2023-03-30 16:23:38","width":"100%","blog_title":"shikaku's blog","height":"190","description":"binance\u306eAPI\u30b3\u30fc\u30eb\u3067\u3088\u304f\u6642\u8a08\u305a\u308c\u306e\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u308b\u306e\u3067\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5148\u982d\u3067\u5b9f\u884c\u3059\u308b \u306a\u305c\u304b\u30b0\u30ea\u30cb\u30c3\u30b8\u6a19\u6e96\u3067\u6307\u5b9a\u3057\u306a\u3044\u3068\u6642\u8a08\u304c\u3048\u3089\u3044\u305a\u308c\u305f\u3002 import win32api import ntplib from datetime import datetime import pytz ##\u6642\u8a08\u540c\u671f # NTP\u30b5\u30fc\u30d0\u30fc\u306e\u30a2\u30c9\u30ec\u30b9 ntp_server = 'time.windows.com' # \u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3092\u6307\u5b9a \u306a\u305c\u304basia\u6307\u5b9a\u3059\u308b\u3068\u6642\u8a08\u304c\u3082\u3063\u3068\u305a\u308c\u308b tz = pytz.timezone('Etc/GMT') # NTP\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u73fe\u5728\u6642\u523b\u3092\u53d6\u5f97 client = ntplib.N\u2026","author_name":"shikaku"}