老师,执行
session.invalidate();
之后,删除cookie,在redis中的session为什么会也被删掉了?
t="某系3000人,某校880000" def replace(result): #print(result) #把传递的字符串都+1 return str(int(result.group())+10000) str1=re.sub(pattern1,replace,t) print(str1)
如果我要把某系+1000,而某校+10000怎么弄
老师这个方法copytree和copyfile有什么区别吗???????????????????????
没找到只有一个JAVASE16的版本,还都是英文看不懂
老师这个为什么会报错文件名是TestChar.java
老师,为什么 对于 第一个图的递归函数可以运行,而第二个 把赋值放在后边 就显示没有定义?(目前只理解了第二个,运行顺序,,从上到下)
老师, 运行结果的 none 是什么意思,为什么会有
import re s1="<html><title>我是程序员</title></html>" pattern=r"<.+><.+>.+<.+><.+>" pattern1=r"<(.+)><(.+)>.+(/\2)(/\1)" v1=re.match(pattern1,s1) print(v1)
匹配不出来,返回的是None
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>魅族</title> <style> .box-header{ width: 100%; height: 680px; background: url("魅族images/444c6b0f-a71c-4e91-8c17-6745223228c5.jpg") no-repeat center ; background-size: cover; } .box-phone{ width: 100%; height: 450px; background: url("魅族images/a6c64f8f-6ab5-4a93-8139-2a893eb2a2a5.jpg") no-repeat center; background-size: cover; } .box-header-bottom{ width: 1262px; height: 277px; /*background: red;*/ } .box-top{ width: 25%; height: 100%; /*background: orange;*/ float: left; } .img1{ width: 130px; height: 130px; } .box-top>p:first-of-type,.phone-top-left>p:first-of-type,.phone-top-right>p:first-of-type,.phone-bottom-items>p:first-of-type{ font-size: 20px; font-weight: bold; width: 310px; height: 30px; } .box-top>p:last-child,.phone-top-left>p:first-of-type+p,.phone-top-right>p:first-of-type+p,.phone-bottom-items>p:last-of-type{ color: #999999; font-size: 14px; width: 310px; height: 21px; } .title{ text-align: center; font-weight: bold; font-size: 2em; } .box-phone-bottom{ width: 1262px; height: 1005px; } .box-phone-bottom-center{ width: 1230px; height:1220px; } .phone-top{ width:1230px; height: 610px; } .phone-bottom{ width: 1212px; height: 375px; } .phone-top-left,.phone-top-right{ width: 615px; height: 610px; float: left; } .phone-bottom-items{ width: 303px; height: 375px; float: left; } .img2{ width: 460px; height: 460px; } .price{ width: 71px; height: 33px; color: red; font-size: 28px; } .price1{ width: 14px; height: 21px; font-size: 12px } .img3{ width: 230px; height: 230px; } /*.img+p{ font-size: 20px; font-weight: bold; }*/ </style> </head> <body> <div class="box-header"> <a href="https://www.meizu.com/"> </a> </div> <div class="box-header-bottom"> <div class="box-top" align="center"> <img src="魅族images/5f896683-d2f2-487d-a296-722fc9e17f1e.png" alt="" class="img1"> <p>魅族 18</p> <p>立省900 + 12 期免息 + 赠手机壳</p> </div> <div class="box-top" align="center"> <img src="魅族images/5f896683-d2f2-487d-a296-722fc9e17f1e.png" alt="" class="img1"> <p>魅族 18</p> <p>立省900 + 12 期免息 + 赠手机壳</p> </div> <div class="box-top" align="center"> <img src="魅族images/5f896683-d2f2-487d-a296-722fc9e17f1e.png" alt="" class="img1"> <p>魅族 18</p> <p>立省900 + 12 期免息 + 赠手机壳</p> </div> <div class="box-top" align="center"> <img src="魅族images/5f896683-d2f2-487d-a296-722fc9e17f1e.png" alt="" class="img1"> <p>魅族 18</p> <p>立省900 + 12 期免息 + 赠手机壳</p> </div> </div> <h3 class="title">手机</h3> <div class="box-phone"> </div> <div class="box-phone-bottom"> <div class="box-phone-bottom-center"> <div class="phone-top" > <div class="phone-top-left" align="center"> <p>魅族 18</p> <p>限时领券至高立省900 | 赠手机壳</p> <p class="price"><span class="price1">¥</span>3999</p> <img src="魅族images/de87d38d-3785-4605-a211-71364ded123f.png" alt="" class="img2"> </div> <div class="phone-top-right" align="center"> <p>魅族 18</p> <p>限时领券至高立省900 | 赠手机壳</p> <p class="price"><span class="price1">¥</span>3999</p> <img src="魅族images/de87d38d-3785-4605-a211-71364ded123f.png" alt="" class="img2"> </div> </div> <div class="phone-bottom"> <div class="phone-bottom-items" align="center"> <img src="魅族images/Cgbj0F6zwMuANEeWAAw6yQFAJXM097.png" alt="" class="img3"> <p>魅族 17「AG梦幻独角兽」</p> <p>高通骁龙 865 | 120 Hz尝鲜模式</p> <p class="price"><span class="price1">¥</span> 3699</p> </div> <div class="phone-bottom-items" align="center"> <img src="魅族images/Cgbj0F6zwMuANEeWAAw6yQFAJXM097.png" alt="" class="img3"> <p>魅族 17「AG梦幻独角兽」</p> <p>高通骁龙 865 | 120 Hz尝鲜模式</p> <p class="price"><span class="price1">¥</span>3699</p> </div> <div class="phone-bottom-items" align="center"> <img src="魅族images/Cgbj0F6zwMuANEeWAAw6yQFAJXM097.png" alt="" class="img3"> <p>魅族 17「AG梦幻独角兽」</p> <p>高通骁龙 865 | 120 Hz尝鲜模式</p> <p class="price"><span class="price1">¥</span> 3699</p> </div> <div class="phone-bottom-items" align="center"> <img src="魅族images/Cgbj0F6zwMuANEeWAAw6yQFAJXM097.png" alt="" class="img3"> <p>魅族 17「AG梦幻独角兽」</p> <p>高通骁龙 865 | 120 Hz尝鲜模式</p> <p class="price"><span class="price1">¥</span> 3699</p> </div> </div> </div> </div> </body> </html>
老师,我写魅族官网写了一部分,为什么价格哪里class都一样,但是设置不出来同样的样式呢?
老师为啥按操作,准备操作弄完之后显示这样呢
老师,我按照要求配置,还是显示
,老师遇到这个情况怎么弄啊?就是中途换了个网,就突然这样了,我从网上找了个方法,但是数据库名和数据库全名不知道是什么?解决方案:https://www.jb51.net/article/91184.htm
Context initialization failed
这是啥问题老师,页面不能跳转
TestChar2 { (String[] args) { a=b=System..println(a & b)System..println(a && b)System..println(a ^ b)System..println(a | b)System..println(a || b)System..println( b)} }
老师,这里不等(!b)它报错!请问一下什么原因
老师,这个运行结果取决于我输入的数字吗?
非常抱歉给您带来不好的体验!为了更深入的了解您的学习情况以及遇到的问题,您可以直接拨打投诉热线:
我们将在第一时间处理好您的问题!
关于
课程分类
百战程序员微信公众号
百战程序员微信小程序
©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园网站维护:百战汇智(北京)科技有限公司 京公网安备 11011402011233号 京ICP备18060230号-3 营业执照 经营许可证:京B2-20212637