This file is indexed.

/usr/share/doc/python3-pyx-doc/faq/python.html is in python3-pyx-doc 0.14.1-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!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>Python &mdash; PyX FAQ</title>
    
    <link rel="stylesheet" href="_static/pyx.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '0.14.1',
        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>
    <link rel="top" title="PyX FAQ" href="index.html" />
    <link rel="next" title="General aspects of plotting with PyX" href="general_aspects_plotting.html" />
    <link rel="prev" title="General aspects of PyX" href="general_aspects_pyx.html" /> 
  </head>
  <body>

<div class="relatedtop">
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="general_aspects_plotting.html" title="General aspects of plotting with PyX"
             accesskey="N">next</a></li>
        <li class="right" >
          <a href="general_aspects_pyx.html" title="General aspects of PyX"
             accesskey="P">previous</a> |</li>
        <li><a href="http://pyx.sourceforge.net">PyX Homepage</a> &raquo;</li>
        <li><a href="index.html">PyX FAQ</a> &raquo;</li>
        <li>Python</li>
      </ul>
    </div>
</div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="python">
<h1>Python<a class="headerlink" href="#python" title="Permalink to this headline"></a></h1>
<div class="section" id="what-is-python">
<span id="id1"></span><h2>What is Python?<a class="headerlink" href="#what-is-python" title="Permalink to this headline"></a></h2>
<p>From <a class="reference external" href="http://www.python.org">www.python.org</a>:</p>
<blockquote>
<div><p>Python is an <em>interpreted, interactive, object-oriented</em> programming
language. It is often compared to Tcl, Perl, Scheme or Java.</p>
<p>Python combines remarkable power with very clear syntax. It has modules,
classes, exceptions, very high level dynamic data types, and dynamic typing.
There are interfaces to many system calls and libraries, as well as to various
windowing systems (X11, Motif, Tk, Mac, MFC). New built-in modules are easily
written in C or C++. Python is also usable as an extension language for
applications that need a programmable interface.</p>
<p>The Python implementation is portable: it runs on many brands of UNIX, on
Windows, OS/2, Mac, Amiga, and many other platforms. If your favorite system
isn&#8217;t listed here, it may still be supported, if there&#8217;s a C compiler for it.
Ask around on <a class="reference external" href="news:comp.lang.python">comp.lang.python</a> – or just
try compiling Python yourself.</p>
<p>The Python implementation is <a class="reference external" href="http://www.python.org/doc/Copyright.html">copyrighted</a>
but <strong>freely usable and distributable, even for commercial use</strong>.</p>
</div></blockquote>
</div>
<div class="section" id="where-can-i-learn-more-about-python">
<h2>Where can I learn more about Python?<a class="headerlink" href="#where-can-i-learn-more-about-python" title="Permalink to this headline"></a></h2>
<p>The place to start is <a class="reference external" href="http://www.python.org">www.python.org</a> where you will
find plenty of information on Python including tutorials.</p>
</div>
<div class="section" id="what-do-i-need-to-import-in-order-to-use-pyx">
<h2>What do I need to import in order to use PyX?<a class="headerlink" href="#what-do-i-need-to-import-in-order-to-use-pyx" title="Permalink to this headline"></a></h2>
<p>It is recommended to begin your Python code with:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">pyx</span> <span class="kn">import</span> <span class="o">*</span>
</pre></div>
</div>
<p>when using PyX. This allows you for example to write simply <code class="docutils literal"><span class="pre">graph.graphxy</span></code>
instead of <code class="docutils literal"><span class="pre">pyx.graph.graphxy</span></code>. The following modules will be loaded:
<code class="docutils literal"><span class="pre">attr</span></code>, <code class="docutils literal"><span class="pre">box</span></code>, <code class="docutils literal"><span class="pre">bitmap</span></code>, <code class="docutils literal"><span class="pre">canvas</span></code>, <code class="docutils literal"><span class="pre">color</span></code>, <code class="docutils literal"><span class="pre">connector</span></code>, <code class="docutils literal"><span class="pre">deco</span></code>,
<code class="docutils literal"><span class="pre">deformer</span></code>, <code class="docutils literal"><span class="pre">document</span></code>, <code class="docutils literal"><span class="pre">epsfile</span></code>, <code class="docutils literal"><span class="pre">graph</span></code>, <code class="docutils literal"><span class="pre">path</span></code>, <code class="docutils literal"><span class="pre">pattern</span></code>,
<code class="docutils literal"><span class="pre">style</span></code>, <code class="docutils literal"><span class="pre">trafo</span></code>,  <code class="docutils literal"><span class="pre">text</span></code>, and <code class="docutils literal"><span class="pre">unit</span></code>.</p>
<p>For convenience, you might import specific objects of a module like in:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">graph</span> <span class="kn">import</span> <span class="n">graphxy</span>
</pre></div>
</div>
<p>which allows you to write <code class="docutils literal"><span class="pre">graphxy()</span></code> instead of <code class="docutils literal"><span class="pre">graph.graphxy()</span></code>.</p>
<p>All code segments in this document assume that the import line mentioned in the
first code snippet is present.</p>
</div>
<div class="section" id="what-is-a-raw-string-and-why-should-i-know-about-it-when-using-pyx">
<h2>What is a raw string and why should I know about it when using PyX?<a class="headerlink" href="#what-is-a-raw-string-and-why-should-i-know-about-it-when-using-pyx" title="Permalink to this headline"></a></h2>
<p>The backslash serves in standard Python strings to start an escape sequence.
For example <code class="docutils literal"><span class="pre">\n</span></code> corresponds to a newline character. On the other hand, TeX
and LaTeX, which do the typesetting in PyX, use the backslash to indicate the
start of a command. In order to avoid the standard interpretation, the string
should be marked as a raw string by prepending it by an <code class="docutils literal"><span class="pre">r</span></code> like in:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">c</span><span class="o">.</span><span class="n">text</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="s">r&quot;$\alpha\beta\gamma$&quot;</span><span class="p">)</span>
</pre></div>
</div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
              <div class="sidebarbox">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Python</a><ul>
<li><a class="reference internal" href="#what-is-python">What is Python?</a></li>
<li><a class="reference internal" href="#where-can-i-learn-more-about-python">Where can I learn more about Python?</a></li>
<li><a class="reference internal" href="#what-do-i-need-to-import-in-order-to-use-pyx">What do I need to import in order to use PyX?</a></li>
<li><a class="reference internal" href="#what-is-a-raw-string-and-why-should-i-know-about-it-when-using-pyx">What is a raw string and why should I know about it when using PyX?</a></li>
</ul>
</li>
</ul>
</div>
            
              <div class="sidebarbox">
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="_sources/python.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div></div>
            
              <div class="sidebarbox">
<div id="searchbox" style="display: none" role="search">
  <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>
      <div class="clearer"></div>
    </div>

<div class="relatedbottom">
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="general_aspects_plotting.html" title="General aspects of plotting with PyX"
             >next</a></li>
        <li class="right" >
          <a href="general_aspects_pyx.html" title="General aspects of PyX"
             >previous</a> |</li>
        <li><a href="http://pyx.sourceforge.net">PyX Homepage</a> &raquo;</li>
        <li><a href="index.html">PyX FAQ</a> &raquo;</li>
        <li>Python</li>
      </ul>
    </div>
</div>
    <div class="footer">
        &copy; Copyright 2011, Gert-Ludwig Ingold.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.4.
    </div>
  </body>
</html>