Examples and Tutorials

PyKDE4 includes examples, samples and tutorials.

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.