资源简介
非规则窗体,类桌面宠物python wx实现,可扩展动画内容、动画控制,仅demo示例,欢迎交流
代码片段和文件信息
from os import listdir
from wx import ImageBitmap
class animation:
def __init__(self resource_path):
self.frame_list = []
files = listdir(resource_path)
for file in files:
img = Image(resource_path+‘\\‘+file)
img.ConvertAlphaToMask()
bitmap = Bitmap(img)
self.frame_list.append(bitmap) 属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-11-29 16:47 animation\
文件 375 2018-11-29 17:00 animation.py
目录 0 2018-11-29 16:47 animation\walk\
文件 109488 2018-10-18 14:16 animation\walk\_01.tif
文件 109608 2018-10-18 14:16 animation\walk\_02.tif
文件 109544 2018-10-18 14:17 animation\walk\_03.tif
文件 109468 2018-10-18 14:21 animation\walk\_04.tif
文件 109428 2018-10-18 15:15 animation\walk\_05.tif
文件 109308 2018-10-18 15:17 animation\walk\_06.tif
文件 109508 2018-10-18 15:19 animation\walk\_07.tif
文件 109580 2018-10-18 15:21 animation\walk\_08.tif
文件 109516 2018-10-18 15:23 animation\walk\_09.tif
文件 109456 2018-10-18 15:25 animation\walk\_10.tif
文件 109432 2018-10-18 15:27 animation\walk\_11.tif
文件 109396 2018-10-18 15:31 animation\walk\_12.tif
文件 109444 2018-10-18 15:34 animation\walk\_13.tif
文件 109564 2018-10-18 15:35 animation\walk\_14.tif
文件 1441 2018-11-29 17:02 event_generator.py
文件 1150 2018-10-23 16:07 pika.ico
文件 616 2018-11-29 17:13 pika.py
文件 531 2018-11-29 17:19 read_me.txt
文件 3476 2018-11-29 17:10 win.py
相关资源
- Python-BDD100K大规模多样化驾驶视频数据
- Instant Pygame for Python Game Development How
- Biopython Tutorial
- Think Python 2nd
- 一个小小的表白程序(python)
- Python课堂笔记(高淇400集第一季)
- 二级考试python试题12套(包括选择题和
- pywin32_python3.6_64位
- python+ selenium教程
- PycURL(Windows7/Win32)Python2.7安装包 P
- 英文原版-Scientific Computing with Python
- 7.图像风格迁移 基于深度学习 pyt
- 基于Python的学生管理系统
- A Byte of Python(简明Python教程)(第
- Python实例174946
- Python 人脸识别
- Python 人事管理系统
- 15个pyqt5项目
- 基于python-flask的个人博客系统
- 计算机视觉应用开发流程
- python 调用sftp断点续传文件
- python socket游戏
- 基于Python爬虫爬取天气预报信息
- python函数编程和讲解
- 顶点小说单本书爬虫.py
- Python开发的个人博客
- 基于python的三层神经网络模型搭建
- python实现自动操作windows应用
- pyqt5动态加载ui文件,动态加载背景图
- python人脸识别(opencv)
川公网安备 51152502000135号
评论
共有 条评论