Getkey issue / error initializing

Please use pre-formatted text feature to show you code.
You can edit you post to fix use. You the triple back-quotes like this:

```
def myfunc():
    print('Hello')
```