摘要: 转载自:https://blog.csdn.net/m0_37886429/article/details/78477638 一、date 查看/设置系统时间 1、将日期设置为2017年11月3日[root@linux-node ~]# date -s 11/03/17 2、将时间设置为14点20分 阅读全文
posted @ 2018-10-20 18:24 且打麻将 阅读(1672) 评论(0) 推荐(0)
摘要: 1、居中 str.center(width[,fillchar]) 【作用:根据宽度让字符串居中,默认填充空格,可以自定义填充字符】 【英语:center=>居中,width=》宽度,fill=》填充,char=》字符】 【说明:返回一个新的字符串,原字符串不做修改】 In [58]: "in".c 阅读全文
posted @ 2018-05-06 11:13 且打麻将 阅读(6967) 评论(0) 推荐(0)
摘要: 参考: https://www.zhihu.com/question/22904994 http://www.cnblogs.com/luoshupeng/archive/2013/09/09/3310777.html 说明: 环境:win10 软件:sublime text3 1、打开Sublim 阅读全文
posted @ 2018-05-01 19:46 且打麻将 阅读(251) 评论(0) 推荐(0)