Show
Ignore:
Timestamp:
03/05/10 22:12:20 (6 months ago)
Author:
hodgestar
Message:

Packages slide.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • hodgestar/Talks/PythonForProgrammers/html/py4progs-5.html

    r726 r728  
    66</head> 
    77<body> 
    8 <div style='margin: auto; width: 50%;'><h2>C API Documentation</h2><ul> 
    9 <li>PyObject API:<ul><li>List of methods unchanged between 2.5, 2.6 and 3.0</li> 
    10 </ul></li> 
     8<div style='margin: auto; width: 50%;'><h2>Packages and Modules</h2><ul> 
     9<li>Creating a package:<pre> 
    1110 
    12 <li>New documentation!<ul><li>Interactive search -- in static HTML</li> 
     11            textutil 
     12            |-- __init__.py 
     13            `-- sort.py 
     14            </pre></li> 
    1315 
    14 <li>JSON index</li> 
     16<li>__init__.py:<div class="highlight"><pre><span class="sd">&quot;&quot;&quot;This is the textutil package.&quot;&quot;&quot;</span> 
    1517 
    16 <li><a href="http://www.example.com/Doc/build/html/index.html">2.6 Docs</a></li> 
    17 </ul></li> 
     18<span class="kn">from</span> <span class="nn">.sort</span> <span class="kn">import</span> <span class="n">Sort</span> 
     19</pre></div> 
     20</li> 
     21 
     22<li>Packages and modules are objects too!</li> 
    1823</ul> 
    19 </div><br /><div class="footer"><hr /><div style="float: left; font-style: italic;">Python 4 Programmers</div><div style="float: right;"><a accesskey="P" href="py4progs-4.html">Prev</a> | <a accesskey="I" href="py4progs-0.html">Index</a> | Next</div></div></body></html> 
     24</div><br /><div class="footer"><hr /><div style="float: left; font-style: italic;">Python 4 Programmers</div><div style="float: right;"><a accesskey="P" href="py4progs-4.html">Prev</a> | <a accesskey="I" href="py4progs-0.html">Index</a> | <a accesskey="N" href="py4progs-6.html">Next</a></div></div></body></html>