This document is for an old version of Python that is no longer supported. You should install the python3 and python3-doc packages and read the Python documentation for the Python3 version packaged in this release.

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python »
  • Python 2.7.18 documentation »
  • The Python Standard Library »
  • 23. Program Frameworks

23. Program Frameworks¶

The modules described in this chapter are frameworks that will largely dictate the structure of your program. Currently the modules described here are all oriented toward writing command-line interfaces.

The full list of modules described in this chapter is:

  • 23.1. cmd — Support for line-oriented command interpreters
    • Cmd
    • 23.1.1. Cmd Objects
      • Cmd.cmdloop()
      • Cmd.onecmd()
      • Cmd.emptyline()
      • Cmd.default()
      • Cmd.completedefault()
      • Cmd.precmd()
      • Cmd.postcmd()
      • Cmd.preloop()
      • Cmd.postloop()
      • Cmd.prompt
      • Cmd.identchars
      • Cmd.lastcmd
      • Cmd.cmdqueue
      • Cmd.intro
      • Cmd.doc_header
      • Cmd.misc_header
      • Cmd.undoc_header
      • Cmd.ruler
      • Cmd.use_rawinput
  • 23.2. shlex — Simple lexical analysis
    • split()
    • shlex
    • 23.2.1. shlex Objects
      • shlex.get_token()
      • shlex.push_token()
      • shlex.read_token()
      • shlex.sourcehook()
      • shlex.push_source()
      • shlex.pop_source()
      • shlex.error_leader()
      • shlex.commenters
      • shlex.wordchars
      • shlex.whitespace
      • shlex.escape
      • shlex.quotes
      • shlex.escapedquotes
      • shlex.whitespace_split
      • shlex.infile
      • shlex.instream
      • shlex.source
      • shlex.debug
      • shlex.lineno
      • shlex.token
      • shlex.eof
    • 23.2.2. Parsing Rules

Previous topic

22.2. locale — Internationalization services

Next topic

23.1. cmd — Support for line-oriented command interpreters

This Page

  • Show Source

Quick search

«

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python »
  • Python 2.7.18 documentation »
  • The Python Standard Library »
  • 23. Program Frameworks
© Copyright 1990-2023, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on October 14, 2023. Found a bug?
Created using Sphinx 5.3.0.