File: python_example.xml

package info (click to toggle)
parlatype 4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,124 kB
  • sloc: ansic: 13,432; xml: 160; python: 134; sh: 37; makefile: 28
file content (13 lines) | stat: -rw-r--r-- 578 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
]>

<chapter id="python_example" xmlns:xi="http://www.w3.org/2003/XInclude">
	<title>A python example</title>

	<para>This is a complete working example of how to use PtPlayer with Python:</para>
  <informalexample>
    <programlisting language="python"><xi:include href="parlatype-example.py" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
  </informalexample>
</chapter>