(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/mac/node9.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/connection-object.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: 5.1 macconsole options object Up: Contents Previous: 4.1 Connection Objects
5. macconsole -- Think C's console package
Availability: Macintosh.
This module is available on the Macintosh, provided Python has been built using the Think C compiler. It provides an interface to the Think console package, with which basic text windows can be created.
- options
- An object allowing you to set various options when creating windows, see below.
- C_ECHO
- C_NOECHO
- C_CBREAK
- C_RAW
- Options for the
setmode method. C_ECHO and C_CBREAK enable character echo, the other two disable it, C_ECHO and C_NOECHO enable line-oriented input (erase/kill processing, etc).
- copen ()
- Open a new console window. Return a console window object.
- fopen (fp)
- Return the console window object corresponding with the given file object. fp should be one of
sys.stdin, sys.stdout or sys.stderr.
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/mac/node9.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/connection-object.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: 5.1 macconsole options object Up: Contents Previous: 4.1 Connection Objects
Send comments on this document to python-docs@python.org.