14 lines
236 B
Python
14 lines
236 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)
|