skype4py-pysrc.html

来自「基于python的skype的API的说明文档」· HTML 代码 · 共 183 行 · 第 1/2 页

HTML
183
字号
<?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-pysrc.html"            target="_top">no&nbsp;frames</a>]</span></td></tr>      </table>    </td>  </tr></table><h1 class="epydoc">Source Code for <a href="Skype4Py-module.html">Package Skype4Py</a></h1><pre class="py-src"><a name="L1"></a><tt class="py-lineno"> 1</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt><a name="L2"></a><tt class="py-lineno"> 2</tt>  <tt class="py-line"><tt class="py-comment"># Skype4Py</tt> </tt><a name="L3"></a><tt class="py-lineno"> 3</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt><a name="L4"></a><tt class="py-lineno"> 4</tt>  <tt class="py-line"> </tt><a name="L5"></a><tt class="py-lineno"> 5</tt>  <tt class="py-line"><tt class="py-docstring">'''</tt> </tt><a name="L6"></a><tt class="py-lineno"> 6</tt>  <tt class="py-line"><tt class="py-docstring">Skype4Py is a multiplatform Skype API wrapper for Python.</tt> </tt><a name="L7"></a><tt class="py-lineno"> 7</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt><a name="L8"></a><tt class="py-lineno"> 8</tt>  <tt class="py-line"><tt class="py-docstring">  1. Usage.</tt> </tt><a name="L9"></a><tt class="py-lineno"> 9</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt><a name="L10"></a><tt class="py-lineno">10</tt>  <tt class="py-line"><tt class="py-docstring">     C{Skype4Py} is the package that you should import in your scripts to be able to access Skype.</tt> </tt><a name="L11"></a><tt class="py-lineno">11</tt>  <tt class="py-line"><tt class="py-docstring">     You won't need to import any submodules. Everything you may need will be available at the</tt> </tt><a name="L12"></a><tt class="py-lineno">12</tt>  <tt class="py-line"><tt class="py-docstring">     package level. This includes:</tt> </tt><a name="L13"></a><tt class="py-lineno">13</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt><a name="L14"></a><tt class="py-lineno">14</tt>  <tt class="py-line"><tt class="py-docstring">       - Classes</tt> </tt><a name="L15"></a><tt class="py-lineno">15</tt>  <tt class="py-line"><tt class="py-docstring">         - C{Skype4Py.Skype = L{Skype4Py.skype.ISkype}}</tt> </tt><a name="L16"></a><tt class="py-lineno">16</tt>  <tt class="py-line"><tt class="py-docstring">         - C{Skype4Py.CallChannelManager = L{Skype4Py.callchannel.ICallChannelManager}}</tt> </tt><a name="L17"></a><tt class="py-lineno">17</tt>  <tt class="py-line"><tt class="py-docstring">       - Constants</tt> </tt><a name="L18"></a><tt class="py-lineno">18</tt>  <tt class="py-line"><tt class="py-docstring">         - C{Skype4Py.* = L{Skype4Py.enums}.*}</tt> </tt><a name="L19"></a><tt class="py-lineno">19</tt>  <tt class="py-line"><tt class="py-docstring">       - Errors</tt> </tt><a name="L20"></a><tt class="py-lineno">20</tt>  <tt class="py-line"><tt class="py-docstring">         - C{Skype4Py.SkypeError = L{Skype4Py.errors.ISkypeError}}</tt> </tt><a name="L21"></a><tt class="py-lineno">21</tt>  <tt class="py-line"><tt class="py-docstring">         - C{Skype4Py.SkypeAPIError = L{Skype4Py.errors.ISkypeAPIError}}</tt> </tt><a name="L22"></a><tt class="py-lineno">22</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt><a name="L23"></a><tt class="py-lineno">23</tt>  <tt class="py-line"><tt class="py-docstring">     The first two are the only classes that you will be instantiating directly. Calling their methods/properties</tt> </tt><a name="L24"></a><tt class="py-lineno">24</tt>  <tt class="py-line"><tt class="py-docstring">     will give you the access to instances of all other classes, you won't have to instantiate them yourself.</tt> </tt><a name="L25"></a><tt class="py-lineno">25</tt>  <tt class="py-line"><tt class="py-docstring">     The two classes are also the only ones that provide event handlers (for more information about events,</tt> </tt><a name="L26"></a><tt class="py-lineno">26</tt>  <tt class="py-line"><tt class="py-docstring">     see the L{EventHandlingBase} class which is a baseclass of the above two classes).</tt> </tt><a name="L27"></a><tt class="py-lineno">27</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt><a name="L28"></a><tt class="py-lineno">28</tt>  <tt class="py-line"><tt class="py-docstring">     Every Skype4Py script instatinates the C{Skype4Py.Skype} class at least once. That's what you want to do</tt> </tt><a name="L29"></a><tt class="py-lineno">29</tt>  <tt class="py-line"><tt class="py-docstring">     first in your script. Then follow the L{Skype4Py.skype.ISkype} reference to see where you can get from</tt> </tt><a name="L30"></a><tt class="py-lineno">30</tt>  <tt class="py-line"><tt class="py-docstring">     there.</tt> </tt><a name="L31"></a><tt class="py-lineno">31</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt><a name="L32"></a><tt class="py-lineno">32</tt>  <tt class="py-line"><tt class="py-docstring">  2. Quick example.</tt> </tt>

⌨️ 快捷键说明

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