On this page
  1. turtle.penup
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

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

REPL Inspect

from turtle import penup
help(penup)

Linked from

Related notes