Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /usr/share/doc/python-docs-2.7.5/html/library/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/python-docs-2.7.5/html/library/mac.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>36. Mac OS X specific services &mdash; Python 2.7.5 documentation</title>
    
    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '2.7.5',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <script type="text/javascript" src="../_static/sidebar.js"></script>
    <link rel="search" type="application/opensearchdescription+xml"
          title="Search within Python 2.7.5 documentation"
          href="../_static/opensearch.xml"/>
    <link rel="author" title="About these documents" href="../about.html" />
    <link rel="copyright" title="Copyright" href="../copyright.html" />
    <link rel="top" title="Python 2.7.5 documentation" href="../index.html" />
    <link rel="up" title="The Python Standard Library" href="index.html" />
    <link rel="next" title="36.1. ic — Access to the Mac OS X Internet Config" href="ic.html" />
    <link rel="prev" title="35.16. commands — Utilities for running commands" href="commands.html" />
    <link rel="shortcut icon" type="image/png" href="../_static/py.png" />
    <script type="text/javascript" src="../_static/copybutton.js"></script>
    
 

  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="ic.html" title="36.1. ic — Access to the Mac OS X Internet Config"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="commands.html" title="35.16. commands — Utilities for running commands"
             accesskey="P">previous</a> |</li>
        <li><img src="../_static/py.png" alt=""
                 style="vertical-align: middle; margin-top: -1px"/></li>
        <li><a href="http://www.python.org/">Python</a> &raquo;</li>
        <li>
          <a href="../index.html">Python 2.7.5 documentation</a> &raquo;
        </li>

          <li><a href="index.html" accesskey="U">The Python Standard Library</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="mac-os-x-specific-services">
<span id="mac-specific-services"></span><h1>36. Mac OS X specific services<a class="headerlink" href="#mac-os-x-specific-services" title="Permalink to this headline">¶</a></h1>
<p>This chapter describes modules that are only available on the Mac OS X platform.</p>
<p>See the chapters <a class="reference internal" href="macosa.html#mac-scripting"><em>MacPython OSA Modules</em></a> and <a class="reference internal" href="undoc.html#undoc-mac-modules"><em>Undocumented Mac OS modules</em></a> for more
modules, and the HOWTO <a class="reference internal" href="../using/mac.html#using-on-mac"><em>Using Python on a Macintosh</em></a> for a general introduction to
Mac-specific Python programming.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Most of the OS X APIs that these modules use are deprecated or removed
in recent versions of OS X.  Many are not available when Python is
executing in 64-bit mode.  These modules have been removed in
Python 3.  You should avoid using them in Python 2.</p>
</div>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="ic.html">36.1. <tt class="docutils literal"><span class="pre">ic</span></tt> &#8212; Access to the Mac OS X Internet Config</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ic.html#ic-objects">36.1.1. IC Objects</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="macos.html">36.2. <tt class="docutils literal"><span class="pre">MacOS</span></tt> &#8212; Access to Mac OS interpreter features</a></li>
<li class="toctree-l1"><a class="reference internal" href="macostools.html">36.3. <tt class="docutils literal"><span class="pre">macostools</span></tt> &#8212; Convenience routines for file manipulation</a></li>
<li class="toctree-l1"><a class="reference internal" href="macostools.html#module-findertools">36.4. <tt class="docutils literal"><span class="pre">findertools</span></tt> &#8212; The <strong class="program">finder</strong>&#8216;s Apple Events interface</a></li>
<li class="toctree-l1"><a class="reference internal" href="easydialogs.html">36.5. <tt class="docutils literal"><span class="pre">EasyDialogs</span></tt> &#8212; Basic Macintosh dialogs</a><ul>
<li class="toctree-l2"><a class="reference internal" href="easydialogs.html#progressbar-objects">36.5.1. ProgressBar Objects</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="framework.html">36.6. <tt class="docutils literal"><span class="pre">FrameWork</span></tt> &#8212; Interactive application framework</a><ul>
<li class="toctree-l2"><a class="reference internal" href="framework.html#application-objects">36.6.1. Application Objects</a></li>
<li class="toctree-l2"><a class="reference internal" href="framework.html#window-objects">36.6.2. Window Objects</a></li>
<li class="toctree-l2"><a class="reference internal" href="framework.html#controlswindow-object">36.6.3. ControlsWindow Object</a></li>
<li class="toctree-l2"><a class="reference internal" href="framework.html#scrolledwindow-object">36.6.4. ScrolledWindow Object</a></li>
<li class="toctree-l2"><a class="reference internal" href="framework.html#dialogwindow-objects">36.6.5. DialogWindow Objects</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="autogil.html">36.7. <tt class="docutils literal"><span class="pre">autoGIL</span></tt> &#8212; Global Interpreter Lock handling in event loops</a></li>
<li class="toctree-l1"><a class="reference internal" href="carbon.html">36.8. Mac OS Toolbox Modules</a><ul>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.AE">36.8.1. <tt class="docutils literal"><span class="pre">Carbon.AE</span></tt> &#8212; Apple Events</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.AH">36.8.2. <tt class="docutils literal"><span class="pre">Carbon.AH</span></tt> &#8212; Apple Help</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.App">36.8.3. <tt class="docutils literal"><span class="pre">Carbon.App</span></tt> &#8212; Appearance Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Appearance">36.8.4. <tt class="docutils literal"><span class="pre">Carbon.Appearance</span></tt> &#8212; Appearance Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.CF">36.8.5. <tt class="docutils literal"><span class="pre">Carbon.CF</span></tt> &#8212; Core Foundation</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.CG">36.8.6. <tt class="docutils literal"><span class="pre">Carbon.CG</span></tt> &#8212; Core Graphics</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.CarbonEvt">36.8.7. <tt class="docutils literal"><span class="pre">Carbon.CarbonEvt</span></tt> &#8212; Carbon Event Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.CarbonEvents">36.8.8. <tt class="docutils literal"><span class="pre">Carbon.CarbonEvents</span></tt> &#8212; Carbon Event Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Cm">36.8.9. <tt class="docutils literal"><span class="pre">Carbon.Cm</span></tt> &#8212; Component Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Components">36.8.10. <tt class="docutils literal"><span class="pre">Carbon.Components</span></tt> &#8212; Component Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.ControlAccessor">36.8.11. <tt class="docutils literal"><span class="pre">Carbon.ControlAccessor</span></tt> &#8212; Control Manager accssors</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Controls">36.8.12. <tt class="docutils literal"><span class="pre">Carbon.Controls</span></tt> &#8212; Control Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.CoreFounation">36.8.13. <tt class="docutils literal"><span class="pre">Carbon.CoreFounation</span></tt> &#8212; CoreFounation constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.CoreGraphics">36.8.14. <tt class="docutils literal"><span class="pre">Carbon.CoreGraphics</span></tt> &#8212; CoreGraphics constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Ctl">36.8.15. <tt class="docutils literal"><span class="pre">Carbon.Ctl</span></tt> &#8212; Control Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Dialogs">36.8.16. <tt class="docutils literal"><span class="pre">Carbon.Dialogs</span></tt> &#8212; Dialog Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Dlg">36.8.17. <tt class="docutils literal"><span class="pre">Carbon.Dlg</span></tt> &#8212; Dialog Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Drag">36.8.18. <tt class="docutils literal"><span class="pre">Carbon.Drag</span></tt> &#8212; Drag and Drop Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Dragconst">36.8.19. <tt class="docutils literal"><span class="pre">Carbon.Dragconst</span></tt> &#8212; Drag and Drop Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Events">36.8.20. <tt class="docutils literal"><span class="pre">Carbon.Events</span></tt> &#8212; Event Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Evt">36.8.21. <tt class="docutils literal"><span class="pre">Carbon.Evt</span></tt> &#8212; Event Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.File">36.8.22. <tt class="docutils literal"><span class="pre">Carbon.File</span></tt> &#8212; File Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Files">36.8.23. <tt class="docutils literal"><span class="pre">Carbon.Files</span></tt> &#8212; File Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Fm">36.8.24. <tt class="docutils literal"><span class="pre">Carbon.Fm</span></tt> &#8212; Font Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Folder">36.8.25. <tt class="docutils literal"><span class="pre">Carbon.Folder</span></tt> &#8212; Folder Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Folders">36.8.26. <tt class="docutils literal"><span class="pre">Carbon.Folders</span></tt> &#8212; Folder Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Fonts">36.8.27. <tt class="docutils literal"><span class="pre">Carbon.Fonts</span></tt> &#8212; Font Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Help">36.8.28. <tt class="docutils literal"><span class="pre">Carbon.Help</span></tt> &#8212; Help Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.IBCarbon">36.8.29. <tt class="docutils literal"><span class="pre">Carbon.IBCarbon</span></tt> &#8212; Carbon InterfaceBuilder</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.IBCarbonRuntime">36.8.30. <tt class="docutils literal"><span class="pre">Carbon.IBCarbonRuntime</span></tt> &#8212; Carbon InterfaceBuilder constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Icns">36.8.31. <tt class="docutils literal"><span class="pre">Carbon.Icn</span></tt> &#8212; Carbon Icon Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Icons">36.8.32. <tt class="docutils literal"><span class="pre">Carbon.Icons</span></tt> &#8212; Carbon Icon Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Launch">36.8.33. <tt class="docutils literal"><span class="pre">Carbon.Launch</span></tt> &#8212; Carbon Launch Services</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.LaunchServices">36.8.34. <tt class="docutils literal"><span class="pre">Carbon.LaunchServices</span></tt> &#8212; Carbon Launch Services constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.List">36.8.35. <tt class="docutils literal"><span class="pre">Carbon.List</span></tt> &#8212; List Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Lists">36.8.36. <tt class="docutils literal"><span class="pre">Carbon.Lists</span></tt> &#8212; List Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.MacHelp">36.8.37. <tt class="docutils literal"><span class="pre">Carbon.MacHelp</span></tt> &#8212; Help Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.MediaDescr">36.8.38. <tt class="docutils literal"><span class="pre">Carbon.MediaDescr</span></tt> &#8212; Parsers and generators for Quicktime Media descriptors</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Menu">36.8.39. <tt class="docutils literal"><span class="pre">Carbon.Menu</span></tt> &#8212; Menu Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Menus">36.8.40. <tt class="docutils literal"><span class="pre">Carbon.Menus</span></tt> &#8212; Menu Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Mlte">36.8.41. <tt class="docutils literal"><span class="pre">Carbon.Mlte</span></tt> &#8212; MultiLingual Text Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.OSA">36.8.42. <tt class="docutils literal"><span class="pre">Carbon.OSA</span></tt> &#8212; Carbon OSA Interface</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.OSAconst">36.8.43. <tt class="docutils literal"><span class="pre">Carbon.OSAconst</span></tt> &#8212; Carbon OSA Interface constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.QDOffscreen">36.8.44. <tt class="docutils literal"><span class="pre">Carbon.QDOffscreen</span></tt> &#8212; QuickDraw Offscreen constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Qd">36.8.45. <tt class="docutils literal"><span class="pre">Carbon.Qd</span></tt> &#8212; QuickDraw</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Qdoffs">36.8.46. <tt class="docutils literal"><span class="pre">Carbon.Qdoffs</span></tt> &#8212; QuickDraw Offscreen</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Qt">36.8.47. <tt class="docutils literal"><span class="pre">Carbon.Qt</span></tt> &#8212; QuickTime</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.QuickDraw">36.8.48. <tt class="docutils literal"><span class="pre">Carbon.QuickDraw</span></tt> &#8212; QuickDraw constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.QuickTime">36.8.49. <tt class="docutils literal"><span class="pre">Carbon.QuickTime</span></tt> &#8212; QuickTime constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Res">36.8.50. <tt class="docutils literal"><span class="pre">Carbon.Res</span></tt> &#8212; Resource Manager and Handles</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Resources">36.8.51. <tt class="docutils literal"><span class="pre">Carbon.Resources</span></tt> &#8212; Resource Manager and Handles constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Scrap">36.8.52. <tt class="docutils literal"><span class="pre">Carbon.Scrap</span></tt> &#8212; Scrap Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Snd">36.8.53. <tt class="docutils literal"><span class="pre">Carbon.Snd</span></tt> &#8212; Sound Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Sound">36.8.54. <tt class="docutils literal"><span class="pre">Carbon.Sound</span></tt> &#8212; Sound Manager constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.TE">36.8.55. <tt class="docutils literal"><span class="pre">Carbon.TE</span></tt> &#8212; TextEdit</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.TextEdit">36.8.56. <tt class="docutils literal"><span class="pre">Carbon.TextEdit</span></tt> &#8212; TextEdit constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Win">36.8.57. <tt class="docutils literal"><span class="pre">Carbon.Win</span></tt> &#8212; Window Manager</a></li>
<li class="toctree-l2"><a class="reference internal" href="carbon.html#module-Carbon.Windows">36.8.58. <tt class="docutils literal"><span class="pre">Carbon.Windows</span></tt> &#8212; Window Manager constants</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="colorpicker.html">36.9. <tt class="docutils literal"><span class="pre">ColorPicker</span></tt> &#8212; Color selection dialog</a></li>
</ul>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h4>Previous topic</h4>
  <p class="topless"><a href="commands.html"
                        title="previous chapter">35.16. <tt class="docutils literal"><span class="pre">commands</span></tt> &#8212; Utilities for running commands</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="ic.html"
                        title="next chapter">36.1. <tt class="docutils literal"><span class="pre">ic</span></tt> &#8212; Access to the Mac OS X Internet Config</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
  <li><a href="../bugs.html">Report a Bug</a></li>
  <li><a href="../_sources/library/mac.txt"
         rel="nofollow">Show Source</a></li>
</ul>

<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="ic.html" title="36.1. ic — Access to the Mac OS X Internet Config"
             >next</a> |</li>
        <li class="right" >
          <a href="commands.html" title="35.16. commands — Utilities for running commands"
             >previous</a> |</li>
        <li><img src="../_static/py.png" alt=""
                 style="vertical-align: middle; margin-top: -1px"/></li>
        <li><a href="http://www.python.org/">Python</a> &raquo;</li>
        <li>
          <a href="../index.html">Python 2.7.5 documentation</a> &raquo;
        </li>

          <li><a href="index.html" >The Python Standard Library</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
    &copy; <a href="../copyright.html">Copyright</a> 1990-2020, Python Software Foundation.
    <br />
    The Python Software Foundation is a non-profit corporation.
    <a href="http://www.python.org/psf/donations/">Please donate.</a>
    <br />
    Last updated on Oct 13, 2020.
    <a href="../bugs.html">Found a bug</a>?
    <br />
    Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
    </div>

  </body>
</html>

ZeroDay Forums Mini