用户:叮咚开发者查看:7 回复:3 评论:7 创建时间:2019-08-21T10:14:45
先看看这幅图:
再看看:
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 喵 bit (AMD喵)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> import kitten
>>> import pygame
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
>>> kitten.wait_until(kitten.is_mouse_down())
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
kitten.wait_until(kitten.is_mouse_down())
AttributeError: module 'kitten' has no attribute 'wait_until'
>>> Kitten.wait_until(Kitten.is_mouse_down())
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
Kitten.wait_until(Kitten.is_mouse_down())
NameError: name 'Kitten' is not defined
>>> import kitten
>>> kitten.set_camera_status('ture')
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
kitten.set_camera_status('ture')
AttributeError: module 'kitten' has no attribute 'set_camera_status'
有没有倍感头疼?
程序根本运行不了……
有没有人有办法?~······