Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « turtle » Python 3.11.3

Fonction getscreen - module turtle

Signature de la fonction getscreen

def getscreen() 

Description

help(turtle.getscreen)

Return the TurtleScreen object, the turtle is drawing  on.

        No argument.

        Return the TurtleScreen object, the turtle is drawing  on.
        So TurtleScreen-methods can be called for that object.

        Example:
        >>> ts = getscreen()
        >>> ts
        <TurtleScreen object at 0x0106B770>
        >>> ts.bgcolor("pink")