老师mac的不讲嘛,每次安装或者是学习新的模块都得自己上网查
老师,这个结果是什么意思? 这个结果应该是zhongbeidaxue啊,结果好像不对
找到问题了上一个问题里format前.输成,了
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.d1{height:150px
;width:150px;
background-color: blueviolet;
position:relativea;
left: 50px;top:40px
}
.d2{height: 600px;width: 600px;background-color: black;
margin-left: 300px ;}
</style>
</head>
<body>
<div class="d2">
<div class="d1"></div>
</div>
</body>
</html>
1、下面这句话是什么意思
ICar car=new Car();
2、有些时候等号左右两边的类型不一致是什么意思呢?
win7可以安装3.10版本的吗
请问为什么出不来?我的是Python3.8.1
问题描述1.png
问题描述2.png
属性为private类型,为什么还可以取到值?
我在编辑bjsxt在这个表空间的时候出现的一个对话框,这个是什么意思?
为啥我这个代码运行后,指定的目录下没有Object.txt文件?
但是运行read()方法后可以读的出来
package com.bjsxt.Object2; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; public class Test { public static void main(String[] args) { write(); //read(); } //写对象的方法 public static void write() { //创建对象流对象 ObjectOutputStream oos = null; try { oos = new ObjectOutputStream(new FileOutputStream("E:\\Object.txt")); //写对象 oos.writeObject(new Student("marry", 23)); oos.writeUTF("写对象"); } catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); }finally { //关闭 if(oos!=null) { try { oos.close(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } } } //读对象的方法 public static void read() { ObjectInputStream ois = null; try { ois = new ObjectInputStream(new FileInputStream("E:\\Object.txt")); System.out.println(ois.readObject()); System.out.println(ois.readUTF()); } catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (ClassNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); }finally { //关闭 if(ois!=null) { try { ois.close(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } } } }
老师好,那个API文档的可以给我发一下吗???????
当敌方子弹击中我方坦克时,游戏界面停止了,并没有出现爆炸效果
pygametimerandom pygame.sprite Sprite SCREEN_WIDTH SCREEN_HEIGHT BG_COLOR pygame.TEXT_COLOR pygame.BaseItemSpritepygame.sprite.Sprite.MainGamewindow my_tank enemyTankList enemyTankCount myBulletList enemyBulletList explodeList pygame.display.MainGame.window pygame.display.SCREEN_WIDTHSCREEN_HEIGHTMainGame.my_tank Tank.pygame.display.time.MainGame.window.BG_COLOR.MainGame.window..MainGame.enemyTankListMainGame.my_tank MainGame.my_tank.liveMainGame.my_tank.MainGame.my_tank MainGame.my_tank ....MainGame.my_tank MainGame.my_tank.liveMainGame.my_tank.stopMainGame.my_tank.pygame.display.top i MainGame.enemyTankCountleft random.speed random.enemy EnemyTanklefttopspeedMainGame.enemyTankList.enemyexplode MainGame.explodeListexplode.liveexplode.MainGame.explodeList.explodeenemyTank MainGame.enemyTankListenemyTank.liveenemyTank.enemyTank.enemyBullet enemyTank.enemyBulletMainGame.enemyBulletList.enemyBulletMainGame.enemyTankList.enemyTankmyBullet MainGame.myBulletListmyBullet.livemyBullet.myBullet.myBullet.MainGame.myBulletList.myBulletenemyBullet MainGame.enemyBulletListenemyBullet.liveenemyBullet.enemyBullet.enemyBullet.MainGame.enemyBulletList.enemyBulletpygame.font.font pygame.font.textSurface font.TEXT_COLORtextSurface eventList pygame.event.event eventListevent.type pygame.QUIT.event.type pygame.KEYDOWNMainGame.my_tank MainGame.my_tank.liveevent.key pygame.K_LEFTMainGame.my_tank.direction MainGame.my_tank.stop event.key pygame.K_RIGHTMainGame.my_tank.direction MainGame.my_tank.stop event.key pygame.K_UPMainGame.my_tank.direction MainGame.my_tank.stop event.key pygame.K_DOWNMainGame.my_tank.direction MainGame.my_tank.stop event.key pygame.K_SPACEMainGame.myBulletListmyBullet BulletMainGame.my_tankMainGame.myBulletList.myBulletevent.type pygame.KEYUPevent.key pygame.K_UP pygame.K_DOWN event.key pygame.K_LEFT event.key pygame.K_RIGHTMainGame.my_tank MainGame.my_tank.liveMainGame.my_tank.stop TankBaseItem.images pygame.image.pygame.image.pygame.image.pygame.image..direction .image .images.direction.rect .image..rect.left .rect.top .speed .stop .live .direction .rect.left .rect.left .speed .direction .rect.top .rect.top .speed .direction .rect.top .rect.height SCREEN_HEIGHT.rect.top .speed .direction .rect.left .rect.height SCREEN_WIDTH.rect.left .speed Bullet.image .images.directionMainGame.window..image.rectMyTankTankEnemyTankTankEnemyTank..images pygame.image.pygame.image.pygame.image.pygame.image..direction ..image .images.direction.rect .image..rect.left .rect.top .speed .flag .step num random.num num num num .step .direction ..step ..step num random.num BulletBulletBaseItem.image pygame.image..direction .direction .rect .image..direction .rect.left .rect.left .rect.width.rect.width.rect.top .rect.top .rect.height .direction .rect.left .rect.left .rect.width.rect.width.rect.top .rect.top .rect.height .direction .rect.left .rect.left .rect.width.rect.width.rect.top .rect.top .rect.width.rect.width.direction .rect.left .rect.left .rect.width .rect.top .rect.top .rect.width.rect.width.speed .live .direction .rect.top .rect.top .speed .live .direction .rect.left .rect.width SCREEN_WIDTH.rect.left .speed .live .direction .rect.top .rect.height SCREEN_HEIGHT.rect.top .speed .live .direction .rect.left .rect.left .speed .live MainGame.window..image.rectenemyTank MainGame.enemyTankListpygame.sprite.enemyTankenemyTank.live .live explode ExplodeenemyTankMainGame.explodeList.explodeMainGame.my_tank MainGame.my_tank.livepygame.sprite.MainGame.my_tankexplode ExplodeMainGame.my_tankMainGame.explodeList.explode.live MainGame.my_tank.live WallExplode.rect .rect .images pygame.image.pygame.image.pygame.image.pygame.image.pygame.image..step .image .images.step.live .step .images.image .images.step.step MainGame.window..image.rect.live .step Music__name__ MainGame.
老师,你好。要是配置sessionManager的话,cookie的时间和session的时间得设置的一样吗?
import re # 实际示例4:别名的使用 pattern = r'<(?P<key1>.+)><(?P<key2>.+)>.+</(?P=key2))></(?P=key1)>' s = '<html><h1>我是一号字体</h1></html>' v = re.match(pattern, s) print(v) print(v.group())
麻烦老师帮忙看一下我的代码是在哪里出问题了,我检查了好多遍还是没能找出来。
docBase时存放文件的位置路径,那path是干啥的?
非常抱歉给您带来不好的体验!为了更深入的了解您的学习情况以及遇到的问题,您可以直接拨打投诉热线:
我们将在第一时间处理好您的问题!
关于
课程分类
百战程序员微信公众号
百战程序员微信小程序
©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园网站维护:百战汇智(北京)科技有限公司 京公网安备 11011402011233号 京ICP备18060230号-3 营业执照 经营许可证:京B2-20212637