07 2022 档案

摘要:首先注意的是,如果在同一个文件夹,可以直接from该类的py文件名然后import这个类 from 文件名 import 类名 如果不在同一个文件使用绝对路径然后import这个类 import sys # 引入sys sys.path.append(r"H:\python\untitled\pak 阅读全文
posted @ 2022-07-09 15:31 TSrobot 阅读(835) 评论(0) 推荐(0)
摘要:1.首先安装gedit-gmate sudo apt-add-repository ppa:ubuntu-on-rails/ppa --添源加到源列表/etc/apt/sources.list中 sudo apt-get update --更新源列表 sudo apt-get install ged 阅读全文
posted @ 2022-07-04 15:10 TSrobot 阅读(633) 评论(0) 推荐(0)
摘要:卸载软件 sudo apt-get --purge remove 软件名 (--purge是可选项,写上这个属性是将软件及其配置文件一并删除,如不需要删除配置文件,可执行sudo apt-get remove 包名) 安装软件 sudo apt-get install 软件名 阅读全文
posted @ 2022-07-04 15:00 TSrobot 阅读(115) 评论(0) 推荐(0)
摘要:WARNING: The directory '/home/liao/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disable 阅读全文
posted @ 2022-07-04 14:44 TSrobot 阅读(464) 评论(0) 推荐(0)