![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
wizardlyk
这个作者很懒,什么都没留下…
展开
-
windows 下Python解压rar文件 报错Cannot find working tool
windows 下Python解压rar文件 报错Cannot find working tool 报错rarfile.RarCannotExec: Cannot find working tool 解决方法: winrar的安装目录中找到unrar.exe,将UnRAR.exe拷贝脚本目录下。 给电脑中添加了环境变量但是没有作用,不清楚为什么。但是网上很多人都有作用。 ...原创 2021-12-20 22:55:35 · 2393 阅读 · 0 评论 -
Dragon
import random import time class Dragon: def __init__(self): # 游戏完成标志 self.gameIsDone = False print( "You are in a land full of dragons.In front of you,you see two caves.the dragon is friendly and will share his "原创 2021-12-06 15:14:48 · 1065 阅读 · 0 评论 -
2021-10-29-Pycharm安装matplotlib
Pycharm安装matplotlib 在终端中通过pip3安装matplotlib后,发现pycharm中引入会报错,查了一下发现可以在Pycharm中安装matplotlib来解决: 打开Preferences,找到Project Interpreter,点“+”添加 在输入框中输入matplotlib进行搜索,然后选中要安装的包并点击下方的install package 此时如果发现安装特别慢,可以点“manage repositories”切换为阿里云的下载地址(我直接将默认的下载地址删除了,只留转载 2021-10-29 22:27:00 · 1964 阅读 · 0 评论 -
不懂就问ABOUT PYTHON
不懂就问ABOUT PYTHON问题一:Python中列表和元组、字典的区别是什么?问题二:pycharm中换行符是什么问题三:什么是素数,质数,合数?问题四:python中单引号,双引号,三个单引号及三个双引号区别是什么问题五:让注释更加醒目,标记需要去做的工作,一旦工作完成需要及时删除TODO标记问题六:shebang和添加可执行权限问题七:拆包语法问题八:__init__,__new__代表...原创 2019-06-17 14:25:11 · 364 阅读 · 0 评论