any hello world programs?

I am not sure if I have setup the sdk correctly. To install it, I found out that its enough you install the libreoffice-dev from the ubuntu repository.

But how do you know the stuff works?

I’d like to start with a python program that creates a text document with content “hello world” in it…

On Windows you find some example programs in your installation in folder ‘share > Scripts > python’. I don’t know whether they exist or will work in ubuntu. In case they are not in your installation, you can have a look at them in http://opengrok.libreoffice.org/xref/core/scripting/examples/python/

I’ve tried the following sample, but couldn’t get it to work:

http://opengrok.libreoffice.org/xref/core/scripting/examples/python/pythonSamples/TableSample.py

Here is the output of the shell on trying to execute it:

>>> import uno
>>> from com.sun.star.text.ControlCharacter import PARAGRAPH_BREAK
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named com.sun.star.text.ControlCharacter
>>> 

Perhaps my installation messed.

HelloWorld is available to suit most OS’s including Ubuntu, do a quick search of optional packages for your OS version .

Try reading one of these:

    [writing-first-python-program](http://www.thehelloworldprogram.com/python/writing-first-python-program)   

or,
Tutorial for Python3 with classic: HelloWorld

.