![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
文章平均质量分 61
码界一棵葱
这个作者很懒,什么都没留下…
展开
-
python Image模块基本语法
Python-Image 基本的图像处理操作,有需要的朋友可以参考下。Python 里面最常用的图像操作库是Image library(PIL),功能上,虽然还不能跟Matlab比较,但是还是比较强大的,废话补多少,写点记录笔记。1. 首先需要导入需要的图像库:import Image2. 读取一张图片:im=Image.open('/home/Picture/test.jpg')3. 显示一张图片:im.show()4. 保存图片:im.save("save.g原创 2022-03-16 11:27:41 · 551 阅读 · 0 评论 -
Python3.x+Pycharm+PyQt5 安装配置开发
Python 3 教程:https://www.runoob.com/python3/python3-tutorial.htmlPyQt5 教程:http://code.py40.com/pyqt5/14.html1.下载安装python3.xPython3 最新源码,二进制文档,新闻资讯等可以在 Python 的官网查看到:Python 官网:https://www.python.org/你可以在以下链接中下载 Python 的文档,你可以下载 HTML、PDF 和 PostSc.原创 2021-05-10 17:10:28 · 405 阅读 · 1 评论 -
Python图形界面设计编程
介绍两种方式: tkinter python3+pyqt5+Eric6 1 tkinter1.1介绍1.2举个栗子1.2.1基本控件from tkinter import *import tkinter.messagebox as messageboxclass Application(Frame): def __init__(self, master=None): Frame.__init__(self, master) ...原创 2021-01-27 15:14:10 · 771 阅读 · 0 评论