在调试redis的时候,打开了wordpress的debug,看到了crayon-syntax-highlighter代码高亮插件出现了以上这个警告提示,其实也不影响功能的使用,就是看着不爽(^_^我有强迫症)。索性,花了点时间解决一下这个告警提示。PHP7.1官方文档解释New E_WARNING and E_NOTICE errors have ...
帮助?:IPython的概述和简介 In [1]: ? IPython -- An enhanced Interactive Python ========================================= IPython offers a fully compatible replacement for the standard...
要求给定一些数字(0-9范围之间),判断数字在字符串中出现的次数。 例子的排序是依照算法的效率(时间复杂度)从低到高例子1 # 定义数字 num = [1,1,1,1,1] #开辟一个列表,以0占位。 counter = [0]*10 for i in range(10): counter[i] = num.count(st...
起因小威wei yum update了一把,结果yum就报错了,Python版本并没有升级,依然是2.7.5版本。报错信息[root@localhost ~]# yum There was a problem importing one of the Python modules required to run yum. The error lea...