
python
我叫她狗子
这个作者很懒,什么都没留下…
展开
-
基于python的贪吃蛇项目
"""贪吃蛇""" import random import sys import time import pygame from pygame.locals import * from collections import deque SCREEN_WIDTH = 600 # 屏幕宽度 SCREEN_HEIGHT = 480 # 屏幕高度 SIZE = 20 # 小方格大小 LINE_WIDTH = 1 # 网格线宽度 # 游戏区域的坐原创 2021-08-19 10:36:54 · 301 阅读 · 0 评论 -
UNIX系统使用python命令行如何使用table自动补全命令
一、我的python环境 [root@localhost ~]# python Python 2.7.5 (default, Oct 14 2020, 14:45:30) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> help() Welcome to Python 2.7! Thi原创 2021-07-01 11:03:28 · 442 阅读 · 0 评论