~certify-web-dev/twisted/certify-trunk

« back to all changes in this revision

Viewing changes to doc/howto/quotes.html

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-01-17 14:52:35 UTC
  • mfrom: (1.1.5 upstream) (2.1.2 etch)
  • Revision ID: james.westby@ubuntu.com-20070117145235-btmig6qfmqfen0om
Tags: 2.5.0-0ubuntu1
New upstream version, compatible with python2.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
2
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><title>Twisted Documentation: Setting up the TwistedQuotes application</title><link href="../howto/stylesheet.css" type="text/css" rel="stylesheet" /></head><body bgcolor="white"><h1 class="title">Setting up the TwistedQuotes application</h1><div class="toc"><ol><li><a href="#auto0">Goal</a></li><li><a href="#auto1">Setting up the TwistedQuotes project directory</a></li></ol></div><div class="content"><span></span><h2>Goal<a name="auto0"></a></h2><p>This document describes how to set up the TwistedQuotes application used in
3
 
a number of other documents, such as <a href="mktap.html">mktap plugins</a>
4
 
and <a href="design.html">designing Twisted applications</a>.</p><h2>Setting up the TwistedQuotes project directory<a name="auto1"></a></h2><p>In order to run the Twisted Quotes example, you will need to do the
 
3
a number of other documents, such as <a href="design.html">designing Twisted applications</a>.</p><h2>Setting up the TwistedQuotes project directory<a name="auto1"></a></h2><p>In order to run the Twisted Quotes example, you will need to do the
5
4
following:</p><ol><li>Make a <code>TwistedQuotes</code> directory on your system</li><li>Place the following files in the <code>TwistedQuotes</code> directory:
6
5
    <ul><li><a href="listings/TwistedQuotes/__init__.py">__init__.py</a> (this
7
6
        file marks it as a package, see <a href="http://www.python.org/doc/current/tut/node8.html#SECTION008400000000000000000">this section</a> of the Python tutorial for more on packages);</li><li><a href="listings/TwistedQuotes/quoters.py">quoters.py</a>;</li><li><a href="listings/TwistedQuotes/quoteproto.py">quoteproto.py</a>; and</li><li><a href="listings/TwistedQuotes/plugins.tml">plugins.tml</a>.</li></ul></li><li>Add the <code>TwistedQuotes</code> directory's <em>parent</em> to your Python
18
17
Type &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
19
18
&gt;&gt;&gt; import TwistedQuotes
20
19
&gt;&gt;&gt; # No traceback means you're fine.
21
 
</pre></li></ol></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 2.4.0</span></body></html>
 
 
b'\\ No newline at end of file'
 
20
</pre></li></ol></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 2.5.0</span></body></html>
 
 
b'\\ No newline at end of file'