Thanks for pointing that out. It's fixed now. I'm glad the article was valuable. I grappled with when/how to use __init__.py for years before sitting down and just figuring it out. I was surprised by a lot of it so I knew I had to share.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Derek, that was the most concise summery of the ModuleNotFoundError issue I ever read. Really fantastically done.
Being one of those old devs who has missed the init.py change in 3.3 this was especially valuable.
Thank you so much for putting this together.
I did find a little typo in exemple 2 I think "python -m unittesttest_greeter.py" wanted to be "python -m unittest test_greeter.py"
Thanks for pointing that out. It's fixed now. I'm glad the article was valuable. I grappled with when/how to use
__init__.py
for years before sitting down and just figuring it out. I was surprised by a lot of it so I knew I had to share.