会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
幻雪追梦
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2020年3月25日
计算并输出由用户指定两个整数之间所有素数
摘要: #计算并输出由用户指定两个整数之间所有素数x=( int(input("请输入开始值(整数):")),int(input("请输入结束值(整数):")) )x1=min(x)x2=max(x)for n in range(x1,x2+1): for i in range(2,n-1): if n %
阅读全文
posted @ 2020-03-25 21:44 幻雪追梦
阅读(813)
评论(0)
推荐(0)
2020年3月20日
python 实现读取一个excel多个sheet表并合并的方法
摘要: 如下所示: import xlrd import pandas as pd from pandas import DataFrame DATA_DIR = 'D:/' excel_name = '%s2017.xls' % DATA_DIR wb = xlrd.open_workbook(excel
阅读全文
posted @ 2020-03-20 21:41 幻雪追梦
阅读(5450)
评论(0)
推荐(0)
2020年1月9日
FineReport连接mysql8报错
摘要: 1、数据库连接失败 a、下载msql8.0.16驱动,放到FineReport安装目录:webapps\webroot\WEB-INF\lib\下 b、自定义连接 数据库:others 驱动器:com.mysql.cj.jdbc.Driver URL:jdbc:mysql://localhost:3
阅读全文
posted @ 2020-01-09 15:02 幻雪追梦
阅读(527)
评论(0)
推荐(0)
2020年1月7日
字符串截取(截取第一个符号前的字符串)
摘要: 截取第一个符号前的字符串 --mysql substring_index( i.`code`,'.',1); substring_index( 字段,特定字符,第几次出现) --oracle substr('AAA-BBB',1,instr('AAA-BBB','-',-1)-1)
阅读全文
posted @ 2020-01-07 19:14 幻雪追梦
阅读(22718)
评论(0)
推荐(0)
上一页
1
2
3
公告