摘要:
和list比较,dict有以下几个特点: 查找和插入的速度极快,不会随着key的增加而变慢; 需要占用大量的内存,内存浪费多。 而list相反: 查找和插入的时间随着元素的增加而增加; 占用空间小,浪费内存很少。 所以,dict是用空间来换取时间的一种方法。 阅读全文
posted @ 2021-04-22 13:47
SpriteGirl
阅读(218)
评论(0)
推荐(0)
摘要:
1、截屏 adb shell screencap -p /sdcard/a.png 2、录屏 adb shell screenrecord /sdcard/a.mp4 阅读全文
posted @ 2021-04-22 13:45
SpriteGirl
阅读(422)
评论(0)
推荐(0)
摘要:
关闭wifi:adb shell svc wifi disable 打开wifi:adb shell svc wifi enable 前提:设备已经root 阅读全文
posted @ 2021-04-22 13:43
SpriteGirl
阅读(2930)
评论(0)
推荐(0)
摘要:
1、服务启动和停止 启动:net start mysql 停止:net stop mysql 重启:mysql -u root -p 密码:123456 2、简单创建数据库、创建表、插入数据、查询数据 import pymysql conn = pymysql.connect(host='127.0 阅读全文
posted @ 2021-04-22 13:29
SpriteGirl
阅读(131)
评论(0)
推荐(0)
摘要:
Mac系统自带apache服务 sudo apachectl start //启动 sudo apachectl restart //重新启动 sudo apachectl stop //停止 1.在终端输入启动命令,输入管理密码,启动服务器 2.打开浏览器,输入地址:127.0.0.1,页面显示i 阅读全文
posted @ 2021-04-22 13:23
SpriteGirl
阅读(110)
评论(0)
推荐(0)
浙公网安备 33010602011771号