首次上传

This commit is contained in:
WGY 2026-08-25 16:09:55 +08:00
commit 73c7aa1a82
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
from datetime import datetime
today = datetime.now()
text = f"{today.year}年{today.month}月{today.day}日首次使用Git"
print(text)
# 将内容写入文本文件,方便提交到Git仓库
with open("git_note.txt", "w", encoding="utf‑8") as f:
f.write(text)