Python Library Reference
Previous:
13.13 errno
Up:
13. Generic Operating System
Next:
13.14.1 ctypes tutorial
13.14
ctypes
-- A foreign function library for Python.
New in version 2.5.
ctypes
is a foreign function library for Python.
Subsections
13.14.1 ctypes tutorial
13.14.1.1 Loading dynamic link libraries
13.14.1.2 Accessing functions from loaded dlls
13.14.1.3 Calling functions
13.14.1.4 Fundamental data types
13.14.1.5 Calling functions, continued
13.14.1.6 Calling functions with your own custom data types
13.14.1.7 Specifying the required argument types (function prototypes)
13.14.1.8 Return types
13.14.1.9 Passing pointers (or: passing parameters by reference)
13.14.1.10 Structures and unions
13.14.1.11 Structure/union alignment and byte order
13.14.1.12 Bit fields in structures and unions
13.14.1.13 Arrays
13.14.1.14 Pointers
13.14.1.15 Pointer classes/types
13.14.1.16 Type conversions
13.14.1.17 Incomplete Types
13.14.1.18 Callback functions
13.14.1.19 Accessing values exported from dlls
13.14.1.20 Surprises
13.14.1.21 Variable-sized data types
13.14.1.22 Bugs, ToDo and non-implemented things
13.14.2 ctypes reference
13.14.2.1 Finding shared libraries
13.14.2.2 Loading shared libraries
13.14.2.3 Foreign functions
13.14.2.4 Function prototypes
13.14.2.5 Utility functions
13.14.2.6 Data types
13.14.2.7 Fundamental data types
13.14.2.8 Structured data types
13.14.2.9 Arrays and pointers
Python Library Reference
Previous:
13.13 errno
Up:
13. Generic Operating System
Next:
13.14.1 ctypes tutorial
Release 2.5b2, documentation updated on 11th July, 2006.
See
About this document...
for information on suggesting changes.