摘要:
break代表结束本层循环,而continue则用于结束本次循环,直接进入下一次循环 continue##打印1-10 除了7的数字number=11 while number>1: number -= 1 if number==7: continue # 结束掉本次循环,即本次循环continue 阅读全文
摘要:
遇到这个问题的时候发现网上给的解释是:https://stackoverflow.com/questions/1250103/attributeerror-module-object-has-no-attribute 有个外国人遇到的情况如下: Not sure how but the below 阅读全文
摘要:
1. download the kernel package that you want to install . 2. unzip the package to the path that has enough space :use command ("df -h /usr/local ")to 阅读全文
摘要:
安装了一个新的redhat 系统过后,遇到了“This system is not registered to Red Hat Subscription Management” ,大神们都是先检查yum 和 安装新的yum 和对应新的repo 文件,我follow那些方法之后仍然还有这样的问题,我将 阅读全文