wx.DateTime.ParseDate(‘yesterday‘)往前倒退一天
用wxpython写了个小程序,打开程序后要把工作日期往前倒退一天,看wx.DateTime的说明时,发现这个控件有强大的自动分析功能。官方原文如下:
The date formatting and parsing functions convert wx.DateTime objects to and from text. The conversions to text are mostly trivial: you can either do it using the default date and
原创
2020-07-02 08:39:06 ·
390 阅读 ·
0 评论