"vault backup: 2025-11-16 22:25:12 from Flow"

This commit is contained in:
2025-11-16 22:25:12 +09:00
parent 3aed0adb63
commit 64dfdb1420

12
_temp_pinyin_script.py Normal file
View File

@@ -0,0 +1,12 @@
from pypinyin import pinyin, Style
# The phrase to convert
phrase = "眼睛"
# Generate pinyin with tone marks
pinyin_list = pinyin(phrase, style=Style.TONE)
# Flatten the list and join
pinyin_str = " ".join([item[0] for item in pinyin_list])
print(pinyin_str)