Python
  • What’s New in Python 更新
    • What’s New in Python 2.7
    • What’s New in Python 2.6
    • What’s New in Python 2.5
    • What’s New in Python 2.4
    • What’s New in Python 2.3
    • What’s New in Python 2.2
    • What’s New in Python 2.1
    • What’s New in Python 2.0
  • The Python Tutorial
    • 1. Whetting Your Appetite 开胃菜
    • 2. Using the Python Interpreter
    • 3. An Informal Introduction to Python
    • 4. More Control Flow Tools
    • 5. Data Structures
    • 6. Modules
    • 7. Input and Output
    • 8. Errors and Exceptions
    • 9. Classes
    • 10. Brief Tour of the Standard Library
    • 11. Brief Tour of the Standard Library – Part II
    • 12. What Now?
    • 13. Interactive Input Editing and History Substitution
    • 14. Floating Point Arithmetic: Issues and Limitations
  • Python Setup and Usage
    • 1. Command line and environment
    • 2. Using Python on Unix platforms
    • 3. Using Python on Windows
    • 4. Using Python on a Macintosh
  • The Python Language Reference
    • 1. Introduction
    • 2. Lexical analysis
    • 3. Data model
    • 4. Execution model
    • 5. Expressions
    • 6. Simple statements
    • 7. Compound statements
    • 8. Top-level components
    • 9. Full Grammar specification
  • The Python Standard Library
    • 1. Introduction
    • 2. Built-in Functions
    • 3. Non-essential Built-in Functions
    • 4. Built-in Constants
    • 5. Built-in Types
    • 6. Built-in Exceptions
    • 7. String Services
    • 8. Data Types
    • 9. Numeric and Mathematical Modules
    • 10. File and Directory Access
    • 11. Data Persistence
    • 12. Data Compression and Archiving
    • 13. File Formats
    • 14. Cryptographic Services
    • 15. Generic Operating System Services
    • 16. Optional Operating System Services
    • 17. Interprocess Communication and Networking
    • 18. Internet Data Handling
    • 19. Structured Markup Processing Tools
    • 20. Internet Protocols and Support
    • 21. Multimedia Services
    • 22. Internationalization
    • 23. Program Frameworks
    • 24. Graphical User Interfaces with Tk
    • 25. Development Tools
    • 26. Debugging and Profiling
    • 27. Python Runtime Services
    • 28. Custom Python Interpreters
    • 29. Restricted Execution
    • 30. Importing Modules
    • 31. Python Language Services
    • 32. Python compiler package
    • 33. Miscellaneous Services
    • 34. MS Windows Specific Services
    • 35. Unix Specific Services
    • 36. Mac OS X specific services
    • 37. MacPython OSA Modules
    • 38. SGI IRIX Specific Services
    • 39. SunOS Specific Services
    • 40. Undocumented Modules
  • Extending and Embedding the Python Interpreter
    • 1. Extending Python with C or C++
    • 2. Defining New Types
    • 3. Building C and C++ Extensions with distutils
    • 4. Building C and C++ Extensions on Windows
    • 5. Embedding Python in Another Application
  • Python/C API Reference Manual
    • Introduction
    • The Very High Level Layer
    • Reference Counting
    • Exception Handling
    • Utilities
    • Abstract Objects Layer
    • Concrete Objects Layer
    • Initialization, Finalization, and Threads
    • Memory Management
    • Object Implementation Support
  • Distributing Python Modules
    • 1. An Introduction to Distutils
    • 2. Writing the Setup Script
    • 3. Writing the Setup Configuration File
    • 4. Creating a Source Distribution
    • 5. Creating Built Distributions
    • 6. The Python Package Index (PyPI)
    • 7. Examples
    • 8. Extending Distutils
    • 9. Command Reference
    • 10. API Reference
  • Installing Python Modules
    • Introduction
    • Standard Build and Install
    • Alternate Installation
    • Custom Installation
    • Distutils Configuration Files
    • Building Extensions: Tips and Tricks
  • Python HOWTOs
    • Porting Python 2 Code to Python 3
    • Porting Extension Modules to Python 3
    • Curses Programming with Python
    • Descriptor HowTo Guide
    • Idioms and Anti-Idioms in Python
    • Functional Programming HOWTO
    • Logging HOWTO
    • Logging Cookbook
    • Regular Expression HOWTO
    • Socket Programming HOWTO
    • Sorting HOW TO
    • Unicode HOWTO
    • HOWTO Fetch Internet Resources Using urllib2
    • HOWTO Use Python in the web
    • Argparse Tutorial
  • Python Frequently Asked Questions
    • General Python FAQ
    • Programming FAQ
    • Design and History FAQ
    • Library and Extension FAQ
    • Extending/Embedding FAQ
    • Python on Windows FAQ
    • Graphic User Interface FAQ
    • “Why is Python Installed on my Computer?” FAQ
  • Glossary
  • About these documents
    • Contributors to the Python Documentation
  • Reporting Bugs
    • Documentation bugs
    • Using the Python issue tracker
  • Copyright
  • History and License
    • History of the software
    • Terms and conditions for accessing or otherwise using Python
    • Licenses and Acknowledgements for Incorporated Software
 
Python
  • Docs »
  • Edit on GitHub

Index – K

kbhit() (in module msvcrt)
KDEDIR
kevent() (in module select)
key
(Cookie.Morsel attribute)
key function
key/datum pair
KEY_ALL_ACCESS (in module _winreg)
KEY_CREATE_LINK (in module _winreg)
KEY_CREATE_SUB_KEY (in module _winreg)
KEY_ENUMERATE_SUB_KEYS (in module _winreg)
KEY_EXECUTE (in module _winreg)
KEY_NOTIFY (in module _winreg)
KEY_QUERY_VALUE (in module _winreg)
KEY_READ (in module _winreg)
KEY_SET_VALUE (in module _winreg)
KEY_WOW64_32KEY (in module _winreg)
KEY_WOW64_64KEY (in module _winreg)
KEY_WRITE (in module _winreg)
KeyboardInterrupt
(built-in exception), [1]
KeyError
keyname() (in module curses)
keypad() (curses.window method)
keyrefs() (weakref.WeakKeyDictionary method)
keys() (bsddb.bsddbobject method)
(dict method)
(email.message.Message method)
(mailbox.Mailbox method)
(sqlite3.Row method)
(xml.etree.ElementTree.Element method)
keysubst() (in module aetools)
KeysView (class in collections)
keyword
elif
else, [1], [2], [3], [4]
except
finally, [1], [2], [3], [4]
from
in
yield
Keyword (class in aetypes)
keyword (module)
keyword argument
keywords (functools.partial attribute)
kill() (in module os)
(subprocess.Popen method)
killchar() (in module curses)
killpg() (in module os)
knee
module, [1]
knownfiles (in module mimetypes)
kqueue() (in module select)
Kuchling, Andrew
kwlist (in module keyword)

© Copyright 1990-2013, Python Software Foundation. Last updated on Dec 01, 2013.

Sphinx theme provided by Read the Docs