Dokumen ini untuk versi lama Python yang tidak didukung lagi. Anda harus memutakhirkan, dan membaca Dokumentasi Python untuk rilis stabil saat ini.

# 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
  - Overview of available Turtle and Screen methods
    - 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
  - 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