2021-10-10 23:33:58 -05:00
|
|
|
import builtins
|
|
|
|
|
|
2021-10-10 23:28:19 -05:00
|
|
|
class Builtins:
|
|
|
|
|
def hello_world():
|
|
|
|
|
print("Hello, world!")
|
|
|
|
|
|
2021-10-10 23:33:58 -05:00
|
|
|
def hello_user():
|
|
|
|
|
print("Hello, user!")
|
|
|
|
|
|
2021-10-10 23:28:19 -05:00
|
|
|
|
2021-10-10 23:33:58 -05:00
|
|
|
# NOTE: There areto ways to add global items. like so.
|
|
|
|
|
builtins.hello_user = hello_user
|
2021-10-10 23:28:19 -05:00
|
|
|
__builtins__.update({"hello_world": hello_world})
|