会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chenwandong
做好每一天!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2022年11月13日
python pip手动安装
摘要: pip 官网:https://pypi.org/project/pip/ #切换到下载的包目录下 python setup.py install
阅读全文
posted @ 2022-11-13 10:40 chenwandong
阅读(101)
评论(0)
推荐(0)
2022年11月2日
python pywin32库 : Python 操作 windows 系统 API 【转】
摘要: 导入数据 import requests import re 请求数据 for page in range(1, 126): url = 'https://wallhaven.cc/toplist?page={}'.format(page) headers = { 'user-agent': 'Mo
阅读全文
posted @ 2022-11-02 09:41 chenwandong
阅读(619)
评论(0)
推荐(0)
2022年10月28日
MongoDB - 数据查询(消除重复)
摘要: 方法distinct()对数据进行去重 语法: db.集合名称.distinct('去重字段',{条件}) 例1:查找年龄大于18的性别(去重) db.stu.distinct('gender',{age:{$gt:18}})
阅读全文
posted @ 2022-10-28 10:36 chenwandong
阅读(947)
评论(0)
推荐(0)
2022年10月26日
python numpy 基础科学计算包,数学函数库
摘要: pip install numpy numpy.array()函数,强大的N维数组对象 ndarray import numpy as np a = np.array([1,2,3]) print (a) [1 2 3]# 多于一个维度 import numpy as np a = np.array
阅读全文
posted @ 2022-10-26 18:42 chenwandong
阅读(87)
评论(0)
推荐(0)
python Pandas 数据分析,Python 版的 Excel 【转】
摘要: Pandas 是基于 NumPy 的一个开源 Python 库,它被广泛用于快速分析数据,以及数据清洗和准备等工作。它的名字来源是由“ Panel data”(面板数据,一个计量经济学名词)两个单词拼成的。简单地说,你可以把 Pandas 看作是 Python 版的 Excel。 import pa
阅读全文
posted @ 2022-10-26 16:31 chenwandong
阅读(134)
评论(0)
推荐(0)
2022年10月25日
Python制作自动答题脚本,100%准确率,1秒10题提高效率 转载
摘要: 前言 环境使用 Python 3.8 Pycharm 模块使用 import requests —> 数据请求模块 pip install requests import parsel —> 数据解析模块 pip install parsel from selenium import webdriv
阅读全文
posted @ 2022-10-25 20:24 chenwandong
阅读(1195)
评论(0)
推荐(0)
小黄条
摘要: 网址:https://www.yynote.cn/
阅读全文
posted @ 2022-10-25 15:55 chenwandong
阅读(42)
评论(0)
推荐(0)
PHP 语法
摘要: 菜鸟教程:https://www.runoob.com/php/php-variables.html PHP 脚本可以放在文档中的任何位置。 PHP 脚本以 <?php 开始,以 ?> 结束 PHP 中的每个代码行都必须以分号结束 注释 // 输出 ehco echo "<h2>PHP 很有趣!</
阅读全文
posted @ 2022-10-25 14:58 chenwandong
阅读(36)
评论(0)
推荐(0)
2022年10月21日
lua 基础语法
摘要: #!/usr/local/bin/lua 注释 -- 输出 print("Hello World!") 数据类型 1、nil 这个最简单,只有值nil属于该类,表示一个无效值(在条件表达式中相当于false)。2、boolean 包含两个值:false和true。3、number 表示双精度类型的实
阅读全文
posted @ 2022-10-21 19:44 chenwandong
阅读(651)
评论(0)
推荐(0)
python 爬取网页,带有post参数
摘要: https://blog.csdn.net/weixin_40340586/article/details/119457955 记录一下自己的爬虫踩过的坑,上一次倒是写了一些,但是写得不够清楚,这次,写清楚爬取的过程。 这个网站是某省的志愿服务网。 就是它了。 我向爬取一些组织开展过的活动,比如这一
阅读全文
posted @ 2022-10-21 11:00 chenwandong
阅读(1103)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告