(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
|
[[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/macpython-modules.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/module-macpath.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. MacPython Modules Up: 2. MacPython Modules Next: 2.2 macpath
2.1 mac -- Implementations for the os module
Availability: Macintosh.
This module implements the operating system dependent functionality provided by the standard module os. It is best accessed through the os module.
The following functions are available in this module: chdir(), close(), dup(), fdopen(), getcwd(), lseek(), listdir(), mkdir(), open(), read(), rename(), rmdir(), stat(), sync(), unlink(), write(), as well as the exception error. Note that the times returned by stat() are floating-point values, like all time values in MacPython.
One additional function is available:
- xstat (path)
- This function returns the same information as stat(), but with three additional values appended: the size of the resource fork of the file and its 4-character creator and type.
|
[[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/macpython-modules.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/module-macpath.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. MacPython Modules Up: 2. MacPython Modules Next: 2.2 macpath
See About this document... for information on suggesting changes.