腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
获取错误“模块”“海龟”没有“TurtleScreen”成员
python
、
visual-studio-code
、
pylint
在使用VS代码中的海龟模块编写
Python
程序时,遇到了一个错误: “模块‘乌龟’没有'TurtleScreen‘成员”
浏览 5
提问于2021-01-08
得票数 0
2
回答
Python
模块海龟未正确导入
python
、
python-3.x
、
python-2.7
、
turtle-graphics
、
python-turtle
这是我第一次在
python
中使用
turtle
模块,但是我似乎不能导入它?下面是我的代码: import
turtle
turtle
.speed(1)
turtle
.left(90)from
turtle
impor
浏览 59
提问于2020-04-29
得票数 0
回答已采纳
2
回答
Python
海龟避免动画
python
、
turtle-graphics
、
python-turtle
根据我所看到的每个资源,我应该使用
turtle
.tracer,但是这个已经不存在了。 我可以使用哪些解决方法?
浏览 3
提问于2020-07-05
得票数 0
4
回答
安装了
python
3.6.1,但我编码时它还在2.7.10上?
python
我下载并安装了
python
3.6.1并进行了检查。它是正确安装的,所有的。为了以防万一,我甚至用Homebrew重新安装了它。但是当我运行'
python
-V‘或'
python
--version’时,它给出了'
python
2.7.10‘。真正的问题是,当我编写代码时,有一堆
Turtle
(甚至更多)函数和模块丢失(因为它们只是在
Python
3中添加的)。我需要在我的程序中使用这些函数来让它正常工作。如果不是运行'
python
浏览 3
提问于2017-06-10
得票数 0
1
回答
Python
Turtle
对象不移动
python
、
python-3.x
、
turtle-graphics
12, in drawLine File "C:\Users\HP\AppData\Local\Programs\
Python
\
Python
38_screen, File &quo
浏览 39
提问于2020-05-25
得票数 5
回答已采纳
3
回答
Python
错误:模块“海龟”没有属性'Pen‘
python
、
turtle-graphics
我试图在Pen编程中使用
turtle
模块的
Python
功能,但它给了我一个错误: Type "help","copyright", "credits" or "license()" for more information. >>> t =
turtle
.Pen()
浏览 6
提问于2019-11-18
得票数 1
回答已采纳
2
回答
基于算法的简单线条画创作
python
、
algorithm
、
drawing
、
fractals
例如:我只知道C和
python
的基础知识,没有任何“绘图”的经验,所以我不知道从哪里开始。
浏览 1
提问于2015-11-22
得票数 3
2
回答
如果一个海龟文件名为
turtle
.py,它将不会运行。为什么会这样呢?
python
、
python-turtle
我刚从海龟开始,并编写了一个基本代码,如下所示:srijan_
turtle
=
turtle
.
Turtle
()
turtle
.done()srijan_
turtle
=
turtle
.
Turtle
() AttributeError:部分初始化模块“海龟”没有属性“
Turtle
”(很可能是循环导入造成的)。注意:该文件被保存为
turtle</
浏览 6
提问于2022-05-26
得票数 3
1
回答
Python
Turtle
Graphics在我运行代码时总是崩溃
python
、
turtle-graphics
import
turtle
timmy.forward(100) 当我运行这段代码时,
Python
Turtle
Graphics窗口在我的屏幕上弹出,
浏览 77
提问于2021-10-01
得票数 0
1
回答
不使用PyCharm中用于Mac屏幕的
Python
的海龟只会在错误代码出现之前闪烁。
python
、
turtle-graphics
、
python-turtle
from
turtle
import
Turtle
, Screen timmy_the_
turtle
.shape("
turtle
") File "/Library/Developer/CommandLineTools/Library/Framework
浏览 9
提问于2022-02-10
得票数 1
7
回答
无法在
Python
2.x和
Python
3.x中导入海龟模块
python
、
user-interface
、
turtle-graphics
我想玩
Python
中的模块。但是当我导入
turtle
模块时,我遇到了以下错误:
Python
2.7.3 (default, Sep 26 2012, 21:51:14) 对于
Python
3.x:
Python
3.2.3 (default, Sep 30 2012, 16:41:36) Type "=
tur
浏览 1
提问于2013-07-08
得票数 10
回答已采纳
4
回答
Turtle
图形窗口在VS代码中不起作用
python
我使用Visual Studio Code作为我的IDE,并且我是
Python
的初学者,所以我决定尝试一下内置到
Python
中的
turtle
库,以学习一些语法。我尝试过使用不同的扩展并重新下载VS Code的
python
扩展。这是我正在尝试运行的代码:geoff =
turtle
.
Turtle
() 请帮帮忙,我真的搞不懂为什么窗户不能开着。谢谢!
浏览 2
提问于2019-11-23
得票数 4
1
回答
在给我的海龟涂颜色的时候出错了
python
、
python-turtle
from
turtle
import
Turtle
my_
turtle
.color(40.0, 80.0, 120.0) Traceback (most recent call last): File "E:\
Python
"C:\User
浏览 11
提问于2022-05-12
得票数 0
回答已采纳
3
回答
VS代码
Python
海龟
python
、
python-3.x
、
visual-studio-code
、
python-turtle
我需要在VS代码中使用
Python
中的海龟库。当我试图运行我的代码时:
turtle
.left(90)
turtle
.left(90)
turtle
.forward(100)
turtle
.forward(100)
turtle
.forward(100) Attrib
浏览 2
提问于2020-09-22
得票数 1
回答已采纳
1
回答
由于未知的错误,无法让多只海龟朝不同的方向行进
python-3.x
、
turtle-graphics
、
python-3.8
、
python-turtle
在
python
3.8中,我试图让多只海龟朝不同的方向移动,但是每当我执行下面的代码时amy =
turtle
.
Turtle
(_screen, self._update() File
浏览 11
提问于2022-06-01
得票数 0
1
回答
设置$DISPLAY变量
python
、
tkinter
、
turtle-graphics
在尝试使用
python
turtle
模块编写程序时,我遇到了一个问题。我已经安装了
turtle
,但在运行以下代码进行测试后:import random 我在终端中遇到了这个错误。文件"",第1行,文件中 "/opt/local/Library/Frameworks/
Python
.framewo
浏览 1
提问于2016-06-23
得票数 0
1
回答
通过tkinter中的按钮关闭
turtle
窗口后,再次调用
turtle
窗口时出错
tkinter
、
python-turtle
() File "C:\Users\sharmila\AppData\Local\Programs\
Python
\
Python
38\lib\
turtle
.py", line 2557,_update() File "
浏览 76
提问于2021-06-11
得票数 0
3
回答
Python
很难把海龟的画布拿起来
python
、
turtle-graphics
我刚收到一本关于圣诞节用
Python
编程的孩子的书。我非常兴奋地使用它,并立即下载了该应用程序。这本书说用这个代码来导入海龟:然后它说这是为了创建一个画布:出现了此错误消息。Traceback (most recent call last): t =
turtle
.Pen
浏览 1
提问于2018-01-01
得票数 2
回答已采纳
1
回答
无法在
python
中运行海龟类
python
、
python-3.x
、
class
、
turtle-graphics
我得到了以下错误: File "C:/Users/yashg/AppData/Local/Programs/
Python
/
Python
36-32/
turtle
2.py", line 1, in <module> File "C:/Users/yashg/AppD
浏览 3
提问于2017-03-25
得票数 1
回答已采纳
1
回答
mac上的
turtle
python
python
、
macos
、
turtle-graphics
我正在Mac上学习
Python
,并通过终端启动该程序。我试图通过我的文本编辑器Sublime保存所有代码,但不幸的是,我在导入
Turtle
时遇到了问题。首先,我把:
turtle
.showturtle()Gabriels-Air:Desktop gabrielmendez$
python
intro.py File "intro.py", lin
浏览 0
提问于2016-06-17
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Python-Turtle 简易教程
python turtle 书写新年快乐
Python语言程序设计:8.5 Turtle实例
Python语言程序设计:8.6 Turtle Art
python的绘图利器:海龟绘图turtle
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券