上一页 1 2 3 4 5 6 7 8 ··· 127 下一页
摘要: 具体代码 <input type="file" class="form-control" name="file" id="input_img"> <img id="show_img" src="" style="width: 150px;height: 100px"> <script> var ge 阅读全文
posted @ 2024-03-18 10:50 yesyes1 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 具体代码 from pyecharts.charts import Map from pyecharts import options as opts from pyecharts.globals import ThemeType import urllib.request, urllib.pars 阅读全文
posted @ 2024-03-15 19:30 yesyes1 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 问题描述 python下载whl错误,一直失败: 问题解决 还没有解决~~~ 阅读全文
posted @ 2024-03-15 18:06 yesyes1 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 问题描述 显示python与java的文件编码不一致 问题解决 在我们调用的python文件的第一行加入这样一行代码: #coding=utf-8 这样就能声明python文件的编码是utf-8,就能够解决上面的错误了; 阅读全文
posted @ 2024-03-14 21:38 yesyes1 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 1、进入这个网站https://www.lfd.uci.edu/~gohlke/pythonlibs/ 界面如下: 因为这些安装包都是按照字母顺序排序的,所以就向下翻到pywin32的位置就行; 选择跟自己的python版本相对应的这个库的版本,点击即可下载; 等待下载完成: 2、进入到pychar 阅读全文
posted @ 2024-03-14 21:12 yesyes1 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 1、在java里面引入python依赖包 <!-- 直接在java里面写python代码、在java中调用python脚本--> <dependency> <groupId>org.python</groupId> <artifactId>jython-standalone</artifactId> 阅读全文
posted @ 2024-03-14 19:52 yesyes1 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 问题描述 使用python语言中的json部分,报出来这个错误;(JSON解码错误) 问题解决 在python文件的最上面加上一行: #coding=utf-8 就能解决这个问题了; 阅读全文
posted @ 2024-03-14 18:19 yesyes1 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 1. 安装环境 # 首先git官方的PaddleOCR项目,安装需要的依赖 git clone https://github.com/PaddlePaddle/PaddleOCR.git cd PaddleOCR pip install -r requirements.txt 2. 数据准备 本项目 阅读全文
posted @ 2024-03-14 17:52 yesyes1 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 在生成下一级地图的时候,不要带有省、市之类的修饰词,直接利用代码: new_test =[x[:-1] for x in test] 即可去除列表中每个元素的最后一位; 如果带有省市,最后地图可能是一片空白(经历过的~) 阅读全文
posted @ 2024-03-10 01:16 yesyes1 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 具体代码(我截取了原文件的几条数据信息,节省一下访问百度的额度) # 这里面有转换地区代码、读取文件信息代码、分析文件内容编码、数据可视乎编码 from pyecharts.charts import Map from pyecharts import options as opts from py 阅读全文
posted @ 2024-03-10 01:13 yesyes1 阅读(74) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 127 下一页