ium/IUM_07/sacred_scopes.py

14 lines
236 B
Python
Raw Normal View History

2021-04-26 11:44:34 +02:00
from sacred import Experiment
ex = Experiment()
@ex.config
def my_config():
recipient = "Świecie"
greeting = "Witaj"
message = "{0} {1}!".format(greeting, recipient)
@ex.automain
def my_main(message):
2024-04-17 08:00:40 +02:00
print(message)