上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: 代码 # -*- coding: utf-8 -*- """ Created on Sat Feb 19 13:19:30 2022 @author: koneko """ from matplotlib import pyplot as plt import torch import math d 阅读全文
posted @ 2022-02-20 21:37 裏表異体 阅读(3495) 评论(0) 推荐(0) 编辑
摘要: 首先找到anaconda的安装目录,然后找到其中的script目录 看到这个程序没有,就是用它,然后再这个文件夹打开cmd 输入 2to3 然后如果要转换单个文件就是 2to3 -w example.py \\-w会把变更写回原文件 如果要转换整个文件夹下的就是 2to3 -w E:\test\ 阅读全文
posted @ 2022-02-18 20:37 裏表異体 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 参看链接 https://www.cnblogs.com/jiangzhaowei/p/8206191.html 阅读全文
posted @ 2022-02-18 20:00 裏表異体 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 先放上官方文档链接 https://openpyxl.readthedocs.io/en/stable/tutorial.html# 材料和目标 有以下数据的excel表格,放在工作目录下,我们要求最高气温和最低气温的平均值放到第5列上去 加载mine.xlsx文件 wb = openpyxl.lo 阅读全文
posted @ 2022-02-17 23:37 裏表異体 阅读(115) 评论(0) 推荐(0) 编辑
摘要: https://registry.npmmirror.com/binary.html?path=git-for-windows/ 阅读全文
posted @ 2022-02-11 22:41 裏表異体 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 这是编码的问题,只需要在连接字符串中把编码设定为utf-8就可以解决,具体代码如下: String connetStr = "server=127.0.0.1;port=3306;user=root;password=123456; database=members;Charset=utf8"; 阅读全文
posted @ 2022-01-07 14:34 裏表異体 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 非常简单,在结尾加上一句: Console.ReadKey(); 阅读全文
posted @ 2022-01-07 14:28 裏表異体 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 效果 app.json { "pages":[ "pages/index/index", "pages/logs/logs" ], "window":{ "backgroundTextStyle":"dark", "navigationBarBackgroundColor": "#ffd1b3", 阅读全文
posted @ 2021-09-07 21:24 裏表異体 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 安装requests pip install requests #安装beautifulSoup pip install beautifulSoup4 阅读全文
posted @ 2021-08-22 16:39 裏表異体 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 用Python爬取一个网站图片 先看看主页的规律 这是他的地址:https://pic.netbian.com/4kfengjing/ 它有200多页 第3页的地址 第4页的地址 发现规律! 第i页的地址为:https://pic.netbian.com/4kfengjing/index_i.htm 阅读全文
posted @ 2021-07-01 13:13 裏表異体 阅读(362) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页