우분투에 Visual Studio Code를 활용하여 파이썬공부 시작!! Visual Studio Code 설치방법은 구글에 검색하면 정말 많으니 참고바람 거북이 그래픽 일명, 'Turtle Graphics' import turtle as t t.Shape("turtle") 'turtle'이라는 모듈을 import를 시키는데 여기서, 'as t'를 입력하게 되면 'turtle'이라는 모듈을 't'라고 쓴다. import turtle import turtle as t turtle.Shape("turtle") t.Shape("turtle") 어렵게 생각하지말고 한마디로, 'turtle' 이라는 모듈에게 't'라는 별명을 붙여주었다고 생각하자!!
나는 이렇게 이해했다... 저 두 문장만 입력하면 된다고 해서 입력했는데 TurtleGraphicError: There is no shape named ..
에러가 뜬다.. shape에서 생긴 오류라고 하는데 'turtle' 철자가 오류났을 경우...
#
python
#
tkinter
#
turtle
#
거북이그래픽
#
거북이그래픽오류
#
파이썬
원문 링크 : TurtleGraphics 실행해보기