On this page
turtle.penup
Prev: turtle.pendown | Up: turtle | Next: turtle.right
Rel: turtle.backward, turtle.forward, turtle.left, turtle.pendown
Ref: docs.python.org — turtle.penup
Tags: #public #python3 #stdlib #turtle
Import
import turtle
from turtle import penup
Signature & Overview
turtle.penup()
Pull the pen up -- no drawing when moving.
Usage
import turtle
# Lifts the pen so goto()/forward() moves without drawing
assert callable(turtle.penup)
Gotchas
- Pairs with
pendown().
REPL Inspect
from turtle import penup
help(penup)
Linked from
Related notes
- tuts/python3/stdlib_module/turtle/backward Linked here; links to this page; shared tags: #stdlib, #turtle
- tuts/python3/stdlib_module/turtle/forward Linked here; links to this page; shared tags: #stdlib, #turtle
- tuts/python3/stdlib_module/turtle/left Linked here; links to this page; shared tags: #stdlib, #turtle
- tuts/python3/stdlib_module/turtle/pendown Linked here; links to this page; shared tags: #stdlib, #turtle
- tuts/python3/stdlib_module/turtle/right Linked here; links to this page; shared tags: #stdlib, #turtle
- tuts/python3/stdlib_module/turtle/Turtle Linked here; shared tags: #stdlib, #turtle
- tuts/python3/stdlib_module/turtle links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/turtle/Screen shared tags: #stdlib, #turtle
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib