MCPcopy
hub / github.com/chinesehuazhou/python-weekly / set_title

Function set_title

resources/weekly_workflow.py:385–393  ·  view source on GitHub ↗

生成Telegram消息的标题部分 :param no: 期号 :return: 格式化的标题字符串

(no)

Source from the content-addressed store, hash-verified

383 return en_summary_file, en_content_meta
384
385def set_title(no):
386 """
387 生成Telegram消息的标题部分
388 :param no: 期号
389 :return: 格式化的标题字符串
390 """
391 tag = "#Python潮流周刊 \n\n"
392 title = f"🐱🐱🐱🐱 第 {no} 期 🐱🐱🐱🐱\n\n"
393 return tag + title
394
395def set_content_body(file_path, weekly_no, pub_date):
396 """

Callers 1

get_messageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected