How to avoid hard coding in python for replacing words to dates?

前端 未结 0 1728
醉话见心
醉话见心 2020-12-02 11:34
text = "Going out with Sahi to Ikebukuro next week around 4PM or 16:30"

dt_now = datetime.datetime.now()
print(\'Date and time now:\', dt_now.strftime(\'%         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题