PyKDE4 - Examples and Tutorials
Prev |  | Next

### Examples and Tutorials

PyKDE4 includes examples, samples and tutorials.

- Samples - are short programs that demonstrate the use one or a small number of classes or widgets
- Examples - are longer programs than samples; they usually demonstrate how classes or widgets might actually be used in small but complete application.
- Tutorials - usually show the sequential development of a program or programming feature, and include more explanatory text than samples or examples

Samples, examples and tutorials are located under the same parent directory as the HTML PyKDE4 documentation (usually /usr/share/doc/packages/PyKDE) and are installed as read-only/owned by root. To experiment with the code in samples, examples or tutorials, you should copy the file you're interested in to a directory where you can have read/write access to the file.

The pykdedocs viewer that ships with PyKDE4 will let you run sample, example or tutorial programs, view source code and view documentation all within a single convenient framework. pykdedocs will also let you save a local (writeable) copy so that you can modify the example code without damaging the original code. pykdedocs should have installed as an executable in your system's PATH when PyKDE4 was installed.

Prev | Table of Contents | Next
Table of Contents |  | Installation