- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 Django - How to Create a Hello World Web Project
Before the Poe test, I learned how to use Django to establish a web program. However, I forgot everything I learned...... So, it is the reason that I wrote this blog to help you and me to memorise how to use Django.
2022-06-02 21:42:29
113
原创 Fake PhotoShop的实现【doge】
做一个PS软件我们需要一个强大的用户交互界面(bushi)这里我们建一个text的classclass Text(pygame.sprite.Sprite): def __init__(self, content, x, y): super().__init__() self.font = pygame.font.Font('freesansbold.ttf', 40) self.content = content self.
2021-11-01 12:16:27
440
1
原创 A-level Computer Science Review
Chapter 12Fundamental problem-solving and programming skillsChapter 13......
2021-10-31 22:29:55
651
7
原创 简单四子棋程序
AI 就忽略吧, 这个版本的程序还没做出来。。。。。。import copyimport randomsituation = []row = 7column = 5situation = [[0 for j in range(column)] for i in range(row)]situation[-1] = [3 for j in range(column)]class bcolors: HEADER = '\033[95m' OKBLUE = '\033[.
2021-10-31 00:18:15
212
1
原创 Pygame对于视频播放的实现
当我学习pygame的时候遇到了一个问题:pygame是否可以播放视频?于是我找到了pygame的对应功能函数video = pygame.movie.Movie('<file_path>')但是很明显这个模块被弃用了 QWQ即使没有它也有很多缺点,例如你不能做其他操作在播放的中途, 视频格式的限制。正当我一筹莫展时,我突然想到了逐帧播放我用PR将视频导出为多张图片,用iteration结构遍历所有的图片(一帧切换一次)# PR教程就不做了【doge】.
2021-10-29 23:20:03
5135
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人