<@!406282901303459840> in addition to what Joel sa...
# beginners-need-help
a
@User in addition to what Joel said, if you do
kedro package
on your project (let's say its Python package name is
xyz
) then you can actually do this:
Copy code
from xyz import __main__
__main__.main()
which will be equivalent to
python -m xyz
. This does seem a little ugly though. IIRC @User wrote the stuff on
__main__
not so long ago so might know a better way of doing this (or if there isn't one then maybe we should expose the
main
function so I can do
from xyz import main
directly)