(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/module-macpath.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/macpython-modules.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/connection-object.html| ]]
|
Macintosh Library Modules
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/genindex.html| ]]
|
Previous: 2.2 macpath Up: 2. MacPython Modules Next: 2.3.1 Connection Objects
2.3 ctb -- Interface to the Communications Tool Box
Availability: Macintosh.
This module provides a partial interface to the Macintosh Communications Toolbox. Currently, only Connection Manager tools are supported. It may not be available in all Mac Python versions.
- error
- The exception raised on errors.
- cmData
- cmCntl
- cmAttn
- Flags for the channel argument of the Read() and Write() methods.
- cmFlagsEOM
- End-of-message flag for Read() and Write().
- choose*
- Values returned by Choose().
- cmStatus*
- Bits in the status as returned by Status().
- available ()
- Return
1 if the Communication Toolbox is available, zero otherwise.
- CMNew (name, sizes)
- Create a connection object using the connection tool named name. sizes is a 6-tuple given buffer sizes for data in, data out, control in, control out, attention in and attention out. Alternatively, passing
None for sizes will result in default buffer sizes.
Subsections
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/module-macpath.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/macpython-modules.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/connection-object.html| ]]
|
Macintosh Library Modules
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/genindex.html| ]]
|
Previous: 2.2 macpath Up: 2. MacPython Modules Next: 2.3.1 Connection Objects
See About this document... for information on suggesting changes.