上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: 在执行一段查询SQL的时候报错,系统提示此错误: 经几遍修改SQL还是报该错,核对SQL语句无误,经查看数据集,匹配id存在非数值记录 1.在查询的where里面加入条件语句,查看异常数据: select * from 表名 where nvl2(translate(字段名,'/1234567890 阅读全文
posted @ 2021-04-28 13:11 bellin124 阅读(1082) 评论(0) 推荐(0)
摘要: 1.创建项目 在终端进入路径D:\Python\Python36\Lib\site-packages\django\bin,创建项目 python3 django-admin startproject mysite02 2.创建应用 python3 manage.py startapp book 测 阅读全文
posted @ 2021-04-26 10:16 bellin124 阅读(63) 评论(0) 推荐(0)
摘要: Git的安装 Git版本控制系统是一个分布式的系统,是用来保存工程源代码历史状态的命令行工具。 官网下载地址:https://git-scm.com/download 网上有很多Git的安装教程 安装完成后,还需要最后一步设置,在命令行输入: $ git config --global user.n 阅读全文
posted @ 2021-04-20 09:32 bellin124 阅读(49) 评论(0) 推荐(0)
摘要: Django到底是什么? Django是一个可以使Web开发工作愉快并且高效的Web开发框架。使用Django,使你能够以最小的代价构建和维护高质量的Web应用。 Python Django的安装 首先,在Django官网上下载适合自己Python的Django版本,我安装的Python3.3,选择 阅读全文
posted @ 2021-04-07 10:27 bellin124 阅读(113) 评论(0) 推荐(0)
摘要: CBool,CByte,CCur,CDate,CDbl,Chr ,CInt ,CLng 阅读全文
posted @ 2021-04-02 15:37 bellin124 阅读(221) 评论(0) 推荐(0)
摘要: Python绘制双轴组合的关键在plt库的twinx()函数,具体流程: 1.先建立坐标系,然后绘制主坐标轴上的图表; 2.再调用plt.twinx()方法; 3.最后绘制次坐标轴图表。 import cx_Oracle import xlrd import xlwt import matplotl 阅读全文
posted @ 2021-04-02 14:58 bellin124 阅读(7684) 评论(2) 推荐(0)
摘要: python matplotlib 多簇柱状图: 统计机器人15天搬运量与机台产出对比,上下货方式为机器人+人工 import xlrd import matplotlib.pyplot as plt import numpy as np plt.rcParams['font.sans-serif' 阅读全文
posted @ 2021-04-02 14:04 bellin124 阅读(1075) 评论(0) 推荐(0)
摘要: oracle中计算某月的天数: 程序中在to_date(参数,'mm')输入参数就可以了 select to_date('03','mm') from dual --输出 --2021/3/1 select add_months(to_date('202102', 'YYYYMM'),1)-to_d 阅读全文
posted @ 2021-04-02 13:22 bellin124 阅读(1343) 评论(0) 推荐(0)
摘要: 安装多个python时为了区分和使用不同版本的python,环境变量添加ok后,需要额外配置如下:进入python33 安装目录,复制python.exe 注意是复制,同文件夹下粘贴重命名为python33.exe效果如下: 阅读全文
posted @ 2021-03-24 16:30 bellin124 阅读(107) 评论(0) 推荐(0)
摘要: Python引入pandas报错ValueError: numpy.ufunc has the wrong size, try recompiling 原因:这是因为 Python 包的版本问题,例如安装了较旧版本的 Numpy,但安装了较新版本的 Pandas。 查看 Numpy版本:pip li 阅读全文
posted @ 2021-03-24 16:16 bellin124 阅读(639) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页