(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/mac/connection-object.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/mac/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/mac/module-macpath.html| ]]
|
Macintosh Library Modules
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/mac/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/mac/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/mac/genindex.html| ]]
|
Next: 4.1 Connection Objects Up: Contents Previous: 3. macpath
4. 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.
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/mac/connection-object.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/mac/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/mac/module-macpath.html| ]]
|
Macintosh Library Modules
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/mac/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/mac/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/mac/genindex.html| ]]
|
Next: 4.1 Connection Objects Up: Contents Previous: 3. macpath
Send comments on this document to python-docs@python.org.