ium/IUM_07/sacred_scopes.py
2021-04-26 11:44:34 +02:00

13 lines
235 B
Python

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):
print(message)