摘要:
sudo ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/bin/subl参考地址:https://www.sublimetext.com/docs/3/osx_command_line.html 阅读全文
摘要:
In [17]: now.strftime(%a),now.strftime(%w)Out[17]: ('Mon', '1')Directive Meaning%a Weekday name.%A Full weekday name.%b Abbreviated month name.%B Full month name.%c Appropriate date and time re... 阅读全文
摘要:
9,10,11,12,1 第一学期2,3,4,5,6,7 第二学期其中8月份放假,暂且放入第一学期。因为大部分学校都选在8月底开学import datetimedef getXNandXQ(): now=datetime.datetime.now() year=int(now.strftime("%Y")) month=int(now.strftime("%m")) if ... 阅读全文