会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
喜欢思考、爱好编程
博客园
首页
新随笔
联系
订阅
管理
2020年1月13日
测试小案例(仅供参考)
摘要:
阅读全文
posted @ 2020-01-13 15:51 喜欢思考、爱好编程
阅读(120)
评论(0)
推荐(0)
编辑
2019年8月6日
10次猜数字小游戏
摘要: #商品价格num = 98#循环等待用户输入i = 0while i<10: #请输入您猜的价格 user = int(input('请猜一猜当前的数字:')) #根据用户输入提示 if user > num: print('你猜的数字太大了~') elif user < num: print('你
阅读全文
posted @ 2019-08-06 16:06 喜欢思考、爱好编程
阅读(373)
评论(0)
推荐(0)
编辑
信息采集的静态页面
摘要: <!doctype html><html> <head> <title>信息采集</title> <meta charset="utf-8"> <link rel="icon" href="./favicon.ico"> </head> <body> <center> <table border="
阅读全文
posted @ 2019-08-06 15:57 喜欢思考、爱好编程
阅读(423)
评论(0)
推荐(0)
编辑
2019年7月17日
redis数据库基础 (都是自己操作)
摘要: redis基本操作 1.设置名为meime 2.获取name 3.查看所有 4.设置键值重复不覆盖 5.select 1 表示进入到1数据库中,默认在0数据库 6.删除所有信息 flushdb 7.单独设置过期时间 8.看看还有多久过期时间 9.删除过期时间 10.批量设置键值 11.批量获取键值
阅读全文
posted @ 2019-07-17 18:17 喜欢思考、爱好编程
阅读(237)
评论(0)
推荐(0)
编辑
mysql基础 仅供参考(基于linux下安装的mysql)
摘要: mysql基本操作 create table xsb(id int,name varchar(32),age int) insert into xsb(id,name,age) value(1,”zhangsan”,23) insert into xsb values(2,’lisi’24),(3,
阅读全文
posted @ 2019-07-17 17:56 喜欢思考、爱好编程
阅读(148)
评论(0)
推荐(0)
编辑
2019年7月11日
用selenium 自动登录带验证码的微博
摘要: from selenium import webdriverimport timedriver = webdriver.Chrome(r'路径chromedriver.exe')driver.get('https://weibo.com/')time.sleep(10)driver.find_ele
阅读全文
posted @ 2019-07-11 18:15 喜欢思考、爱好编程
阅读(830)
评论(0)
推荐(0)
编辑
selenium 代码常见报错
摘要: 报错 selenium.common.exceptions.WebDriverException: Message: unknown error: call function result missing 'value' 分析原因: 由于chromedriver.exe没有加入到环境变量,导致报错
阅读全文
posted @ 2019-07-11 16:43 喜欢思考、爱好编程
阅读(162)
评论(0)
推荐(0)
编辑
公告