Differences between revisions 33 and 48 (spanning 15 versions)
Revision 33 as of 2004-05-29 15:49:35
Size: 5722
Editor: c-24-125-101-137
Comment:
Revision 48 as of 2008-11-15 13:59:52
Size: 3344
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
PythonLibraryRefTemplate$
Line 15: Line 17:
(conversion to Wiki Format by [:LloydFlanagan:A. Lloyd Flanagan], who didn't know what he was getting into) (conversion to Wiki Format by [[LloydFlanagan|A. Lloyd Flanagan]], who didn't know what he was getting into)
Line 21: Line 23:
[:/FrontMatter:Front Matter] [[/FrontMatter|Front Matter]]
Line 25: Line 27:
1. [:/Introduction:Introduction] 1. [[/Introduction|Introduction]]
Line 27: Line 29:
2. [:/BuiltInObjects:Built In Objects] 2. [[/BuiltInObjects|Built In Objects]]
Line 29: Line 31:
3. [:/PythonRuntimeServices:Python Runtime Services] 3. [[/PythonRuntimeServices|Python Runtime Services]]
Line 31: Line 33:
4. [:/StringServices:String Services] 4. [[/StringServices|String Services]]
Line 33: Line 35:
5. [:/MiscellaneousServices:Miscellaneous Services] 5. [[/MiscellaneousServices|Miscellaneous Services]]
Line 35: Line 37:
6. [:/GenericOperatingSystemServices:Generic Operating System Services] 6. [[/GenericOperatingSystemServices|Generic Operating System Services]]
Line 37: Line 39:
7. [:/OptionalOperatingSystemServices:Optional Operating System Services] 7. [[/OptionalOperatingSystemServices|Optional Operating System Services]]
Line 39: Line 41:
8. [[/UnixSpecificServices|Unix Specific Services]]
Line 40: Line 43:
8. [:/UnixSpecificServices:Unix Specific Services] 9. [[/ThePythonDebugger|The Python Debugger]]
Line 42: Line 45:
9. [:/ThePythonDebugger:The Python Debugger] 10. [[/ThePythonProfiler|The Python Profiler]]
Line 44: Line 47:
10. [:/ThePythonProfiler:The Python Profiler] 11. [[/InternetProtocolsAndSupport|Internet Protocols And Support]]
Line 46: Line 49:
11. [:/InternetProtocolsAndSupport:Internet Protocols And Support] 12. [[/InternetDataHandling|Internet Data Handling]]
Line 48: Line 51:
12. [:/InternetDataHandling:Internet Data Handling] 13. [[/StructuredMarkupProcessingTools|Structured Markup Processing Tools]]
Line 50: Line 53:
13. [:/StructuredMarkupProcessingTools:Structured Markup Processing Tools] 14. [[/MultimediaServices|Multimedia Services]]
Line 52: Line 55:
14. [:/MultimediaServices:Multimedia Services] 15. [[/CryptographicServices|Cryptographic Services]]
Line 54: Line 57:
15. [:/CryptographicServices:Cryptographic Services] 16. [[/GraphicalUserInterfacesWithTk|Graphical User Interfaces With Tk]]
Line 56: Line 59:
15.1 hmac -- Keyed-Hashing for Message Authentication
15.2 md5 -- MD5 message digest algorithm
15.3 sha -- SHA-1 message digest algorithm
15.4 mpz -- GNU arbitrary magnitude integers
15.5 rotor -- Enigma-like encryption and decryption
17. [[/RestrictedExecution|Restricted Execution]]
Line 62: Line 61:
16. [:/GraphicalUserInterfacesWithTk:Graphical User Interfaces With Tk] 18. [[/PythonLanguageServices|Python Language Services]]
Line 64: Line 63:
16.1 Tkinter -- Python interface to Tcl/Tk
16.1.1 Tkinter Modules
16.1.2 Tkinter Life Preserver
16.1.3 A (Very) Quick Look at Tcl/Tk
16.1.4 Mapping Basic Tk into Tkinter
16.1.5 How Tk and Tkinter are Related
16.1.6 Handy Reference
16.2 Tix -- Extension widgets for Tk
16.2.1 Using Tix
16.2.2 Tix Widgets
16.2.3 Tix Commands
16.3 ScrolledText -- Scrolled Text Widget
16.4 turtle -- Turtle graphics for Tk
16.4.1 Pen and RawPen Objects
16.5 Idle
16.5.1 Menus
16.5.2 Basic editing and navigation
16.5.3 Syntax colors
16.6 Other Graphical User Interface Packages
19. [[/PythonCompilerPackage|Python Compiler Package]]
Line 84: Line 65:
17. [:/RestrictedExecution:Restricted Execution] 20. [[/SgiIrixSpecificServices|Sgi Irix Specific Services]]
Line 86: Line 67:
17.1 rexec -- Restricted execution framework
17.1.1 RExec Objects
17.1.2 Defining restricted environments
17.1.3 An example
17.2 Bastion -- Restricting access to objects
21. [[/SunOsSpecificServices|Sun OS Specific Services]]
Line 92: Line 69:
18. [:/PythonLanguageServices:Python Language Services] 22. [[/MsWindowsSpecificServices|MS Windows Specific Services]]
Line 94: Line 71:
18.1 parser -- Access Python parse trees
18.1.1 Creating AST Objects
18.1.2 Converting AST Objects
18.1.3 Queries on AST Objects
18.1.4 Exceptions and Error Handling
18.1.5 AST Objects
18.1.6 Examples
18.2 symbol -- Constants used with Python parse trees
18.3 token -- Constants used with Python parse trees
18.4 keyword -- Testing for Python keywords
18.5 tokenize -- Tokenizer for Python source
18.6 tabnanny -- Detection of ambiguous indentation
18.7 pyclbr -- Python class browser support
18.7.1 Class Descriptor Objects
18.7.2 Function Descriptor Objects
18.8 py_compile -- Compile Python source files
18.9 compileall -- Byte-compile Python libraries
18.10 dis -- Disassembler for Python byte code
18.10.1 Python Byte Code Instructions
18.11 distutils -- Building and installing Python modules
A. [[/UndocumentedModules|Undocumented Modules]]
Line 115: Line 73:
19. [:/PythonCompilerPackage:Python Compiler Package] B. [[/ReportingBugs|Reporting Bugs]]
Line 117: Line 75:
19.1 The basic interface
19.2 Limitations
19.3 Python Abstract Syntax
19.3.1 AST Nodes
19.3.2 Assignment nodes
19.3.3 Examples
19.4 Using Visitors to Walk ASTs
19.5 Bytecode Generation
C. [[/HistoryAndLicense|History And License]]
Line 126: Line 77:
20. [:/SgiIrixSpecificServices:Sgi Irix Specific Services] [[/ModuleIndex|Module Index]]
Line 128: Line 79:
20.1 al -- Audio functions on the SGI
20.1.1 Configuration Objects
20.1.2 Port Objects
20.2 AL -- Constants used with the al module
20.3 cd -- CD-ROM access on SGI systems
20.3.1 Player Objects
20.3.2 Parser Objects
20.4 fl -- FORMS library for graphical user interfaces
20.4.1 Functions Defined in Module fl
20.4.2 Form Objects
20.4.3 FORMS Objects
20.5 FL -- Constants used with the fl module
20.6 flp -- Functions for loading stored FORMS designs
20.7 fm -- Font Manager interface
20.8 gl -- Graphics Library interface
20.9 DEVICE -- Constants used with the gl module
20.10 GL -- Constants used with the gl module
20.11 imgfile -- Support for SGI imglib files
20.12 jpeg -- Read and write JPEG files
[[/PythonLibraryReferenceIndex|Python Library Reference Index]]
Line 148: Line 81:
21. [:/SunOsSpecificServices:Sun OS Specific Services]

21.1 sunaudiodev -- Access to Sun audio hardware
21.1.1 Audio Device Objects
21.2 SUNAUDIODEV -- Constants used with sunaudiodev
22. MS Windows Specific Services
22.1 msvcrt - Useful routines from the MS VC++ runtime
22.1.1 File Operations
22.1.2 Console I/O
22.1.3 Other Functions
22.2 _winreg - Windows registry access
22.2.1 Registry Handle Objects
22.3 winsound -- Sound-playing interface for Windows

A. [:/UndocumentedModules:Undocumented Modules]

A.1 Frameworks
A.2 Miscellaneous useful utilities
A.3 Platform specific modules
A.4 Multimedia
A.5 Obsolete
A.6 SGI-specific Extension modules

B. [:/ReportingBugs:Reporting Bugs]

C. [:/HistoryAndLicense:History And License]

C.1 History of the software
C.2 Terms and conditions for accessing or otherwise using Python

[:/ModuleIndex:Module Index]

[:/PythonLibraryReferenceIndex:Python Library Reference Index]

[:/AboutThisDocument:About This Document] ...
[[/AboutThisDocument|About This Document]] ...
Line 185: Line 84:
LloydFlanagan - 5/24/2004
Line 187: Line 85:
This is an example comment. Another set of annotatable documentation is at http://pydoc.amk.ca/frame.html .

That site wraps a frameset around the Python 2.3.4 documentation and adds some JavaScript that updates another frame to display a Wiki page for the documentation page you're viewing.

Please go and add any commentary, links, or other material you wish. If it becomes clear that people will actually use these annotated docs, they'll probably get moved onto python.org.

AndrewKuchling -- 2004-09-09
Line 189: Line 94:
LloydFlanagan - 5/24/2004 LloydFlanagan -- 10/8/2004
Line 191: Line 96:
And here's another! I've checked out Andrew's setup. It's brilliant! I've been looking at a system for parsing the current CVS documentation, creating wiki pages out of it, and updating them as the docs are changed. Meanwhile, Andrew has come up with a scheme to view the standard HTML pages side-by-side with comments.

Since that's so functional, and these docs are obsolete already, I'll probably stop work on this version until I think of something better. Err, make that "if".

Thanks Andrew!
Line 193: Line 102:

PythonLibraryRefTemplate$

Python Library Reference

Guido van Rossum

Fred L. Drake, Jr., editor

PythonLabs

Email: docs@python.org

Release 2.3.3

December 19, 2003

(conversion to Wiki Format by A. Lloyd Flanagan, who didn't know what he was getting into)


Note: this is an unofficial posting of the official python documentation. So PLEASE DON'T modify the existing text! It will probably just be overwritten and no one will realize you've done it. PLEASE DO add any and all comments at the end of the section they apply to. That's what it's for!

Front Matter

Table Of Contents

1. Introduction

2. Built In Objects

3. Python Runtime Services

4. String Services

5. Miscellaneous Services

6. Generic Operating System Services

7. Optional Operating System Services

8. Unix Specific Services

9. The Python Debugger

10. The Python Profiler

11. Internet Protocols And Support

12. Internet Data Handling

13. Structured Markup Processing Tools

14. Multimedia Services

15. Cryptographic Services

16. Graphical User Interfaces With Tk

17. Restricted Execution

18. Python Language Services

19. Python Compiler Package

20. Sgi Irix Specific Services

21. Sun OS Specific Services

22. MS Windows Specific Services

A. Undocumented Modules

B. Reporting Bugs

C. History And License

Module Index

Python Library Reference Index

About This Document ...

Comments

Another set of annotatable documentation is at http://pydoc.amk.ca/frame.html .

That site wraps a frameset around the Python 2.3.4 documentation and adds some JavaScript that updates another frame to display a Wiki page for the documentation page you're viewing.

Please go and add any commentary, links, or other material you wish. If it becomes clear that people will actually use these annotated docs, they'll probably get moved onto python.org.

AndrewKuchling -- 2004-09-09


LloydFlanagan -- 10/8/2004

I've checked out Andrew's setup. It's brilliant! I've been looking at a system for parsing the current CVS documentation, creating wiki pages out of it, and updating them as the docs are changed. Meanwhile, Andrew has come up with a scheme to view the standard HTML pages side-by-side with comments.

Since that's so functional, and these docs are obsolete already, I'll probably stop work on this version until I think of something better. Err, make that "if".

Thanks Andrew!


CategoryDocumentation

PythonLibraryReference (last edited 2008-11-15 13:59:52 by localhost)

Unable to edit the page? See the FrontPage for instructions.