06 2020 档案

摘要:好玩图像PIL处理 一、PIL库学习总结 1、PIL中的模块 Image模块、ImageChops模块、ImageCrackCode模块、ImageDraw模块、ImageEnhance模块、ImageFile模块、ImageFileIO模块、ImageFilter模块、ImageFont模块、Im 阅读全文
posted @ 2020-06-27 11:26 叶落知秋max 阅读(242) 评论(0) 推荐(0)
摘要:安装好jieba库后,搬运了一个博主的代码进行词云测试 # 如果您需要使用此代码,os.chdir路经需要指定到txt文本所在路径 # 使用Zipin函数,需要txt有read()函数可以打开的正确的编码格式 # 使用Cipin函数需要安装jieba库 # 使用word cloud函数需要安装wor 阅读全文
posted @ 2020-06-26 00:30 叶落知秋max 阅读(197) 评论(0) 推荐(0)
摘要:#!/usr/bin/env python3 # -*- coding: utf-8 -*- from sys import exit#调用exit函数,用于终止python程序 from random import choice#调用choice函数,返回一个列表,元组或字符串的随机项 impor 阅读全文
posted @ 2020-06-16 11:17 叶落知秋max 阅读(139) 评论(0) 推荐(0)
摘要:最后附上大佬的代码 from __future__ import print_function, division import os import sys import time import math import random from PIL import Image import subp 阅读全文
posted @ 2020-06-04 16:38 叶落知秋max 阅读(252) 评论(0) 推荐(0)
摘要:from __future__ import print_function, division import os import sys import time import math import random from PIL import Image import subprocess # 分 阅读全文
posted @ 2020-06-04 14:26 叶落知秋max 阅读(727) 评论(0) 推荐(0)