⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 skype4py-module.html

📁 基于python的skype的API的说明文档
💻 HTML
字号:
<?xml version="1.0" encoding="ascii"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"          "DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>  <title>Skype4Py</title>  <link rel="stylesheet" href="epydoc.css" type="text/css" />  <script type="text/javascript" src="epydoc.js"></script></head><body bgcolor="white" text="black" link="blue" vlink="#204080"      alink="#204080"><!-- ==================== NAVIGATION BAR ==================== --><table class="navbar" border="0" width="100%" cellpadding="0"       bgcolor="#a0c0ff" cellspacing="0">  <tr valign="middle">  <!-- Home link -->      <th bgcolor="#70b0f0" class="navbar-select"          >&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>  <!-- Tree link -->      <th>&nbsp;&nbsp;&nbsp;<a        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>  <!-- Index link -->      <th>&nbsp;&nbsp;&nbsp;<a        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>  <!-- Help link -->      <th>&nbsp;&nbsp;&nbsp;<a        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>  <!-- Project homepage -->      <th class="navbar" align="right" width="100%">        <table border="0" cellpadding="0" cellspacing="0">          <tr><th class="navbar" align="center"            ><a class="navbar" target="_top" href="https://developer.skype.com/wiki/Skype4Py">Skype4Py</a></th>          </tr></table></th>  </tr></table><table width="100%" cellpadding="0" cellspacing="0">  <tr valign="top">    <td width="100%">      <span class="breadcrumbs">        Package&nbsp;Skype4Py      </span>    </td>    <td>      <table cellpadding="0" cellspacing="0">        <!-- hide/show private -->        <tr><td align="right"><span class="options"            >[<a href="frames.html" target="_top">frames</a            >]&nbsp;|&nbsp;<a href="Skype4Py-module.html"            target="_top">no&nbsp;frames</a>]</span></td></tr>      </table>    </td>  </tr></table><!-- ==================== PACKAGE DESCRIPTION ==================== --><h1 class="epydoc">Package Skype4Py</h1><p class="nomargin-top"><span class="codelink"><a href="Skype4Py-pysrc.html">source&nbsp;code</a></span></p><p>Skype4Py is a multiplatform Skype API wrapper for Python.</p>  <ol start="1">    <li>      Usage.      <p><code>Skype4Py</code> is the package that you should import in       your scripts to be able to access Skype. You won't need to import any      submodules. Everything you may need will be available at the package       level. This includes:</p>      <ul>        <li>          Classes          <ul>            <li>              <code>Skype4Py.Skype = <a               href="Skype4Py.skype.ISkype-class.html"               class="link">Skype4Py.skype.ISkype</a></code>            </li>            <li>              <code>Skype4Py.CallChannelManager = <a               href="Skype4Py.callchannel.ICallChannelManager-class.html"               class="link">Skype4Py.callchannel.ICallChannelManager</a></code>            </li>          </ul>        </li>        <li>          Constants          <ul>            <li>              <code>Skype4Py.* = <a href="Skype4Py.enums-module.html"               class="link">Skype4Py.enums</a>.*</code>            </li>          </ul>        </li>        <li>          Errors          <ul>            <li>              <code>Skype4Py.SkypeError = <a               href="Skype4Py.errors.ISkypeError-class.html"               class="link">Skype4Py.errors.ISkypeError</a></code>            </li>            <li>              <code>Skype4Py.SkypeAPIError = <a               href="Skype4Py.errors.ISkypeAPIError-class.html"               class="link">Skype4Py.errors.ISkypeAPIError</a></code>            </li>          </ul>        </li>      </ul>      <p>The first two are the only classes that you will be instantiating       directly. Calling their methods/properties will give you the access       to instances of all other classes, you won't have to instantiate them      yourself. The two classes are also the only ones that provide event       handlers (for more information about events, see the <a       href="Skype4Py.utils.EventHandlingBase-class.html"       class="link">EventHandlingBase</a> class which is a baseclass of the       above two classes).</p>      <p>Every Skype4Py script instatinates the <code>Skype4Py.Skype</code>      class at least once. That's what you want to do first in your script.      Then follow the <a href="Skype4Py.skype.ISkype-class.html"       class="link">Skype4Py.skype.ISkype</a> reference to see where you can      get from there.</p>    </li>    <li>      Quick example.      <p>This short example connects to Skype client and prints the user's       full name and the names of all the contacts from the contacts       list:</p><pre class="literalblock">   import Skype4Py   # Create Skype instance   skype = Skype4Py.Skype()   # Connect Skype object to Skype client   skype.Attach()   print 'Your full name:', skype.CurrentUser.FullName   print 'Your contacts:'   for user in skype.Friends:       print '    ', user.FullName</pre>    </li>  </ol><hr /><div class="fields">      <p><strong>Author:</strong>        Arkadiusz Wahlig (arkadiusz.wahlig at googlemail)      </p>      <p><strong>Requires:</strong>        Python 2.4 or newer (not yet 3.0)      </p>      <p><strong>See Also:</strong>        <a href="https://developer.skype.com/wiki/Skype4Py"         target="_top">The Skype4Py webpage</a>      </p>      <p><strong>License:</strong>        BSD License (see the accompanying LICENSE file for more         information)      </p>      <p><strong>Copyright:</strong>        &copy; 2007-2008 Arkadiusz Wahlig      </p>      <p><strong>Version:</strong>        1.0.31.0      </p></div><!-- ==================== SUBMODULES ==================== --><a name="section-Submodules"></a><table class="summary" border="1" cellpadding="3"       cellspacing="0" width="100%" bgcolor="white"><tr bgcolor="#70b0f0" class="table-header">  <td align="left" colspan="2" class="table-header">    <span class="table-header">Submodules</span></td></tr>  <tr><td class="summary">  <ul class="nomargin">    <li> <strong class="uidlink"><a href="Skype4Py.API-module.html">Skype4Py.API</a></strong>: <em class="summary">Low-level Skype API definitions.</em>    <ul>    <li> <strong class="uidlink"><a href="Skype4Py.API.darwin-module.html">Skype4Py.API.darwin</a></strong>: <em class="summary">Low level Skype for Mac OS X interface implemented using Carbon         distributed notifications.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.API.faked_dbus-module.html">Skype4Py.API.faked_dbus</a></strong>: <em class="summary">This faked module is used while building docs on windows where dbus        package isn't available.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.API.posix-module.html">Skype4Py.API.posix</a></strong>: <em class="summary">Low level Skype for Linux interface.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.API.posix_dbus-module.html">Skype4Py.API.posix_dbus</a></strong>: <em class="summary">Low level Skype for Linux interface implemented using python-dbus         package.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.API.posix_x11-module.html">Skype4Py.API.posix_x11</a></strong>: <em class="summary">Low level Skype for Linux interface implemented using XWindows         messaging.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.API.windows-module.html">Skype4Py.API.windows</a></strong>: <em class="summary">Low level Skype for Windows interface implemented using Windows         messaging.</em>    </li>    </ul>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.application-module.html">Skype4Py.application</a></strong>: <em class="summary">APP2APP protocol.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.call-module.html">Skype4Py.call</a></strong>: <em class="summary">Calls, conferences.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.callchannel-module.html">Skype4Py.callchannel</a></strong>: <em class="summary">Data channels for calls.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.chat-module.html">Skype4Py.chat</a></strong>: <em class="summary">Chats.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.client-module.html">Skype4Py.client</a></strong>: <em class="summary">Skype client user interface control.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.conversion-module.html">Skype4Py.conversion</a></strong>: <em class="summary">Conversion between constants and text.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.enums-module.html">Skype4Py.enums</a></strong>: <em class="summary">Skype4Py constants.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.errors-module.html">Skype4Py.errors</a></strong>: <em class="summary">Error classes.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.filetransfer-module.html">Skype4Py.filetransfer</a></strong>: <em class="summary">File transfers.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.profile-module.html">Skype4Py.profile</a></strong>: <em class="summary">Current user profile.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.settings-module.html">Skype4Py.settings</a></strong>: <em class="summary">Skype settings.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.skype-module.html">Skype4Py.skype</a></strong>: <em class="summary">Main Skype interface.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.sms-module.html">Skype4Py.sms</a></strong>: <em class="summary">Short messaging to cell phones.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.user-module.html">Skype4Py.user</a></strong>: <em class="summary">Users and groups.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.utils-module.html">Skype4Py.utils</a></strong>: <em class="summary">Utility functions and classes used internally by Skype4Py.</em>    </li>    <li> <strong class="uidlink"><a href="Skype4Py.voicemail-module.html">Skype4Py.voicemail</a></strong>: <em class="summary">Voicemails.</em>    </li>  </ul></td></tr></table><br /><!-- ==================== VARIABLES ==================== --><a name="section-Variables"></a><table class="summary" border="1" cellpadding="3"       cellspacing="0" width="100%" bgcolor="white"><tr bgcolor="#70b0f0" class="table-header">  <td align="left" colspan="2" class="table-header">    <span class="table-header">Variables</span></td></tr><tr>    <td width="15%" align="right" valign="top" class="summary">      <span class="summary-type">&nbsp;</span>    </td><td class="summary">        <a name="__version__"></a><span class="summary-name">__version__</span> = <code title="'1.0.31.0'"><code class="variable-quote">'</code><code class="variable-string">1.0.31.0</code><code class="variable-quote">'</code></code><br />      The version of Skype4Py.    </td>  </tr><tr>    <td width="15%" align="right" valign="top" class="summary">      <span class="summary-type">&nbsp;</span>    </td><td class="summary">        <a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'Skype4Py'"><code class="variable-quote">'</code><code class="variable-string">Skype4Py</code><code class="variable-quote">'</code></code>    </td>  </tr></table><!-- ==================== NAVIGATION BAR ==================== --><table class="navbar" border="0" width="100%" cellpadding="0"       bgcolor="#a0c0ff" cellspacing="0">  <tr valign="middle">  <!-- Home link -->      <th bgcolor="#70b0f0" class="navbar-select"          >&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>  <!-- Tree link -->      <th>&nbsp;&nbsp;&nbsp;<a        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>  <!-- Index link -->      <th>&nbsp;&nbsp;&nbsp;<a        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>  <!-- Help link -->      <th>&nbsp;&nbsp;&nbsp;<a        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>  <!-- Project homepage -->      <th class="navbar" align="right" width="100%">        <table border="0" cellpadding="0" cellspacing="0">          <tr><th class="navbar" align="center"            ><a class="navbar" target="_top" href="https://developer.skype.com/wiki/Skype4Py">Skype4Py</a></th>          </tr></table></th>  </tr></table><table border="0" cellpadding="0" cellspacing="0" width="100%%">  <tr>    <td align="left" class="footer">    Generated by Epydoc 3.0.1 on Wed Nov 05 14:54:58 2008    </td>    <td align="right" class="footer">      <a target="mainFrame" href="http://epydoc.sourceforge.net"        >http://epydoc.sourceforge.net</a>    </td>  </tr></table><script type="text/javascript">  <!--  // Private objects are initially displayed (because if  // javascript is turned off then we want them to be  // visible); but by default, we want to hide them.  So hide  // them unless we have a cookie that says to show them.  checkCookie();  // --></script></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -