上一页 1 2 3 4 5 6 7 8 ··· 35 下一页
摘要: python -m pip install pip==20.2 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com 这是由于pip的版本过高 参考链接:https://blog.csdn.net/qq_41684249/ar 阅读全文
posted @ 2023-02-06 19:24 tiansz 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 选择Windows PowerShell(管理员)(A) 单击点击打开 slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX slmgr /skms kms.03k.org slmgr /ato 参考链接:https://zhuanlan.zhihu.com/p/4728 阅读全文
posted @ 2023-02-06 19:22 tiansz 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 首先设定初始随机种群数目,然后让虾群自动繁殖,最后就可以得出虾群的最终种群数目。例如设定初始的种群数目为20,最终在繁殖后得到的种群数目为35。 import random class Shrimp(): def __init__(self, pos, mapSize): # The positio 阅读全文
posted @ 2023-01-14 22:39 tiansz 阅读(32) 评论(0) 推荐(0) 编辑
摘要: import random # 在打完牌后移除该卡片 def remove_card(str_card_list, card_list): for i in str_card_list: card_list.remove(i) # 出1张牌 def one_card(card_list): retu 阅读全文
posted @ 2023-01-12 17:26 tiansz 阅读(15) 评论(0) 推荐(0) 编辑
摘要: pip freeze > requirements.txt 阅读全文
posted @ 2022-12-11 16:17 tiansz 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 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-12-07 21:48 tiansz 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 首先将创建的项目克隆到本地,然后在终端中进入该目录 初始化 git git init 将修改添加到缓存区 git add . 将缓存区的文件提交到本地仓库 git commit -m 提交 将本地仓库关联到远端 git remote add origin http形式的git链接 提交到远程仓库 g 阅读全文
posted @ 2022-11-26 13:49 tiansz 阅读(20) 评论(0) 推荐(0) 编辑
摘要: import pandas as pd change_data = pd.read_excel("待修改.xlsx") data = pd.read_excel("源文件.xlsx") data["列名"] = data["列名"].drop_duplicates() new_data = chan 阅读全文
posted @ 2022-11-15 15:06 tiansz 阅读(36) 评论(0) 推荐(0) 编辑
摘要: https://shurufa.sogou.com/linux?r=pinyin 在如上链接下载,然后使用dpkg命令安装 在电脑设置中找到“区域和语言”,然后点击“管理已安装的语言”,将系统输入法系统更改为“fcitx”,然后点击“应用到整个系统”。 然后在终端中卸载ibus输入法: sudo a 阅读全文
posted @ 2022-11-12 18:34 tiansz 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 星火商场: https://spark-app.store/download 下载deb包后使用dpkg命令进行安装,然后在商店中安装企业微信 企业微信无法开启的问题:https://github.com/zq1997/deepin-wine/issues/291 之后打开企业微信之后需要拉伸一下窗 阅读全文
posted @ 2022-11-12 18:06 tiansz 阅读(409) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 35 下一页