2022-12-18 18:00:19 +08:00
|
|
|
|
#!/usr/bin/env python3
|
2023-11-11 10:08:09 +08:00
|
|
|
|
import os
|
2022-12-18 18:00:19 +08:00
|
|
|
|
import sys
|
2023-11-11 10:08:09 +08:00
|
|
|
|
import json
|
2022-12-18 18:00:19 +08:00
|
|
|
|
import base64
|
|
|
|
|
import requests
|
2023-01-18 15:29:44 +08:00
|
|
|
|
print("""浣溪沙
|
|
|
|
|
一曲新词酒一杯,去年天气旧亭台。夕阳西下几时回?
|
|
|
|
|
无可奈何花落去,似曾相识燕归来。小园香径独徘徊。""")
|
|
|
|
|
print("")
|
|
|
|
|
print("听一支新曲喝一杯美酒,还是去年的天气旧日的亭台,西落的夕阳何时再回来?那花儿落去我也无可奈何,那归来的燕子似曾相识,在小园的花径上独自徘徊。")
|
|
|
|
|
print("================================")
|
2023-11-11 10:08:09 +08:00
|
|
|
|
programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string
|
|
|
|
|
with open(f"{programPath}/information.json") as file:
|
|
|
|
|
version = json.loads(file.read())["Version"]
|
|
|
|
|
print(requests.get(base64.b64decode("aHR0cDovLzEyMC4yNS4xNTMuMTQ0L3VlbmdpbmUtcnVubmVyL0luc3RhbGwucGhwP1ZlcnNpb249").decode("utf-8") + version).text)
|