随笔分类 -  python

摘要:今天使用python打开一张图像文件的时候报错了 UnicodeDecodeError: 'gbk' codec can't decode byte 0xff in position 0: illegal multibyte sequence 报错原因是打开的文件不是gbk编码,所以解码报错 对策如 阅读全文
posted @ 2020-03-09 13:23 anweilx 阅读(439) 评论(0) 推荐(0) 编辑
摘要:今天在写题时,执行脚本又报错了 脚本如下 #! /usr/bin/env python3 # _*_ coding:utf-8 _*_ import base64 # 字典文件路径 dic_file_path = './10_million_password_list_top_100.txt' wi 阅读全文
posted @ 2020-03-03 18:35 anweilx 阅读(414) 评论(0) 推荐(0) 编辑
摘要:之前在使用python libnum库时报错 附上报错内容 Traceback (most recent call last) : File" D:/python file/ctf/RSA共模攻击. py",line 37, in <module> main() File" D: /python f 阅读全文
posted @ 2020-03-02 10:49 anweilx 阅读(1576) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示