---
description: Installed? try now.
---

# Getting started

To get things started we will try to run a very simpl GUI based  application using the DicksonUI . First create a small Python script called `hello.py` with the following content and save it somewhere:

### Initialize a Window

First, let's create a new Application.

```
from dicksonui import Application, window
mywindow=window()
document=mywindow.document
App = Application(('',1024))
App.Add(mywindow)
mywindow.show()
```

**Run!!!**

Run your code. For Python 3

```
python3 myscript.py
```

Or, For Python 2

```
python myscript.py
```

![disappointed\_relieved](https://github.githubassets.com/images/icons/emoji/unicode/1f625.png)![disappointed\_relieved](https://github.githubassets.com/images/icons/emoji/unicode/1f625.png)![disappointed\_relieved](https://github.githubassets.com/images/icons/emoji/unicode/1f625.png) Nothing!!! but a blank page.

#### **Add items to form**

Okay, now that we will learn about Controls

```
from dicksonui import Application, window
mywindow=window()
document=mywindow.document
App = Application(('',1024))
App.Add(mywindow)
heading=document.createElement('h1')
heading.innerHTML='Hello World!'
document.body.appendChild(heading)
mywindow.show()
```

Run it.

Hello World! ![blush](https://github.githubassets.com/images/icons/emoji/unicode/1f60a.png)![blush](https://github.githubassets.com/images/icons/emoji/unicode/1f60a.png)![blush](https://github.githubassets.com/images/icons/emoji/unicode/1f60a.png)
