I can't seem to work out what I'm doing wrong with my variable. Basically I have a variable in my main.py which I need to adjust in a function in my function.py. But I'm getting an error that the variable has not been defined.

What am I doing wrong?

main.py:

```
from function.functions import *

loaded_tables = []

do_something()

```

functions.py:

```
def do_something():

  global loaded_tables

  loaded_tables.append('test')

```