# Kerangka Program

Modul-modul yang dijelaskan dalam bab ini adalah kerangka kerja yang sebagian besar akan menentukan struktur program Anda. Saat ini modul yang dijelaskan di sini semuanya berorientasi pada penulisan antarmuka baris perintah command-line interfaces.

Daftar lengkap modul yang dijelaskan dalam bab ini adalah:

- `turtle` --- Turtle graphics
  - Pengenalan
  - Tutorial
    - Starting a turtle environment
    - Basic drawing
      - Pen control
      - The turtle's position
    - Making algorithmic patterns
  - How to...
    - Get started as quickly as possible
    - Use the `turtle` module namespace
    - Use turtle graphics in a script
    - Use object-oriented turtle graphics
  - Turtle graphics reference
    - Turtle methods
    - Methods of TurtleScreen/Screen
  - Methods of RawTurtle/Turtle and corresponding functions
    - Turtle motion
    - Tell Turtle's state
    - Settings for measurement
    - Pen control
      - Drawing state
      - Color control
      - Filling
      - More drawing control
    - Turtle state
      - Visibility
      - Appearance
    - Using events
    - Special Turtle methods
    - Compound shapes
  - Methods of TurtleScreen/Screen and corresponding functions
    - Window control
    - Animation control
    - Using screen events
    - Input methods
    - Settings and special methods
    - Methods specific to Screen, not inherited from TurtleScreen
  - Public classes
  - Explanation
  - Help and configuration
    - How to use help
    - Translation of docstrings into different languages
    - How to configure Screen and Turtles
  - `turtledemo` --- Demo scripts
  - Changes since Python 2.6
  - Changes since Python 3.0
- `cmd` --- Support for line-oriented command interpreters
  - Cmd Objects
  - Cmd Example
- `shlex` --- Simple lexical analysis
  - shlex Objects
  - Parsing Rules
  - Improved Compatibility with Shells