Open victorterpstra opened 2 years ago
Some additional notes on running a script:
with open("somefile.py") as f:
code = compile(f.read(), "somefile.py", 'exec')
exec(code, global_vars, local_vars)
See https://stackoverflow.com/questions/436198/what-is-an-alternative-to-execfile-in-python-3 https://docs.python.org/release/3.2.3/library/functions.html#exec
Run a DO model based on a local class or notebook. This allows us to use the dashboard for development and debugging of a DO model.
To run a notebook:
#dd-ignore