> For the complete documentation index, see [llms.txt](https://rcc-1.gitbook.io/roblox-py/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rcc-1.gitbook.io/roblox-py/language/export.md).

# Export

```python
global _
```

in Python would take the global `_` as refer to it as a local, In Lua this is not required so the `global` keyword has been redone to rather generate a return statement at the end of the file.

```python
class myFunc:
    def method1():
        print("Hi")
        
global myFunc
```

in the generated source code at the end of the file

```lua
return {
    ["myFunc"] = myFunc,
}
```

can be find.
