猫史档案馆


代码转换有问题~

用户:叮咚开发者叮咚开发者查看:7 回复:3 评论:7 创建时间:2019-08-21T10:14:45


先看看这幅图:center_image

再看看:

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'

有没有倍感头疼?

程序根本运行不了……

有没有人有办法?~······


回复

上一页1 页 / 共 1下一页
硫酸QwQ硫酸QwQ

你又没装Kitten库。。。

点赞0


评论


硫酸QwQ硫酸QwQ

Kitten又不是Python内置库。。。

点赞1


评论


BYS海阔凭鱼跃天高任鸟飞BYS海阔凭鱼跃天高任鸟飞

我好像出错了······

center_image

点赞0


评论