Pull the pen up -- no drawing when moving. Aliases: penup | pu | up No argument Example (for a Turtle instance named turtle): >>> turtle.penup()
(self)
| 2094 | |
| 2095 | |
| 2096 | def penup(self): |
| 2097 | """Pull the pen up -- no drawing when moving. |
| 2098 | |
| 2099 | Aliases: penup | pu | up |
| 2100 | |
| 2101 | No argument |
| 2102 | |
| 2103 | Example (for a Turtle instance named turtle): |
| 2104 | >>> turtle.penup() |
| 2105 | """ |
| 2106 | if not self._drawing: |
| 2107 | return |
| 2108 | self.pen(pendown=False) |
| 2109 | |
| 2110 | def pendown(self): |
| 2111 | """Pull the pen down -- drawing when moving. |