Built-in Module ctb

ctb

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.


\begin{datadesc}{error}
The exception raised on errors.
\end{datadesc}


\begin{datadesc}{cmData}
\dataline{cmCntl}
\dataline{cmAttn}
Flags for the \var{channel} argument of the \var{Read} and \var{Write}
methods.
\end{datadesc}


\begin{datadesc}{cmFlagsEOM}
End-of-message flag for \var{Read} and \var{Write}.
\end{datadesc}


\begin{datadesc}{choose*}
Values returned by \var{Choose}.
\end{datadesc}


\begin{datadesc}{cmStatus*}
Bits in the status as returned by \var{Status}.
\end{datadesc}


\begin{funcdesc}{available}{}
Return 1 if the communication toolbox is available, zero otherwise.
\end{funcdesc}


\begin{funcdesc}{CMNew}{name\, sizes}
Create a connection object using the conne...
...atively, passing \code{None} will result in default buffer sizes.
\end{funcdesc}



Subsections