会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
不能说的秘密
Hell is other people
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
17
下一页
2022年9月27日
求两个线段的交点,[线段,不是直线,不可无限延长]
摘要: # -*- coding: utf-8 -*-# class Point: def __init__(self, xy): self.x = xy[0] self.y = xy[1] def line_intersection(line1, line2): """ :param line1: 线段一
阅读全文
posted @ 2022-09-27 15:55 不能说的秘密
阅读(307)
评论(0)
推荐(0)
2022年9月9日
python检测线段是否含有勾
摘要: # -*- coding: utf-8 -*-# import math lines_dic = { "正常": [ [[0, 0], [1, 1], [2, 2], [3, 3]], [[0, 0], [1, 1], [1, 2], [3, 5]] ], "勾": [ [[0, 0], [1, 1
阅读全文
posted @ 2022-09-09 10:04 不能说的秘密
阅读(85)
评论(0)
推荐(0)
2022年9月8日
matplotlib画折线图
摘要: def convert(self, pose_list, output): data_list = self.parse_pose(pose_list) time_z_dic = {} font2 = {'family': 'Times New Roman', 'weight': 'normal',
阅读全文
posted @ 2022-09-08 18:22 不能说的秘密
阅读(33)
评论(0)
推荐(0)
2022年9月5日
python 下载url函数
摘要: import requests import shutil def download_file(url, local_filename): """ :param url: url连接 :param local_filename: 下载后保存文件名字 """ with requests.get(url
阅读全文
posted @ 2022-09-05 09:09 不能说的秘密
阅读(51)
评论(0)
推荐(0)
2022年8月10日
ubuntu18.04安装docker
摘要: sudo apt update sudo apt install apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubun
阅读全文
posted @ 2022-08-10 09:24 不能说的秘密
阅读(34)
评论(0)
推荐(0)
2022年8月9日
ubuntu18.04安装wxPython
摘要: 下载whl https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/ 从这个连接里下载对应的whl pip pip install wxPython-4.1.1-cp38-cp38-linux_x86_64.whl 缺
阅读全文
posted @ 2022-08-09 10:07 不能说的秘密
阅读(321)
评论(0)
推荐(0)
ubuntu18.04更换apt源为阿里源
摘要: 备份原始source.list cp /etc/apt/sources.list /etc/apt/sources.list.back 更新sources内容 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe
阅读全文
posted @ 2022-08-09 10:01 不能说的秘密
阅读(383)
评论(0)
推荐(0)
2022年8月3日
linux 驱动产生了死锁,无法卸载
摘要: 解决方法: https://github.com/gatieme/LDD-LinuxDeviceDrivers/tree/master/study/driver/force_rmmod 使用前流程 下载01_driver文件夹 make force_rmmod 模块 通过modname制定待卸载驱动
阅读全文
posted @ 2022-08-03 08:55 不能说的秘密
阅读(328)
评论(0)
推荐(0)
2022年6月1日
系统下载网站
摘要: https://next.itellyou.cn/Identity/Account/Login?ReturnUrl=%2FOriginal%2FIndex
阅读全文
posted @ 2022-06-01 15:49 不能说的秘密
阅读(326)
评论(0)
推荐(0)
2022年5月11日
python xlrd3使用
摘要: python 目前xlrd库已经更新到2.1.0+,2.1.0+版本得库无法操作xlsx文件,只能操作xls文件 需要安装低于1.2.0版本得xlrd库才可以,但是xlrd3可以可以支持xls和xlsx的读取,并且效率 上比openpyxl要快 # -*- coding: utf-8 -*-# #
阅读全文
posted @ 2022-05-11 13:39 不能说的秘密
阅读(969)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
17
下一页
公告