[Tutor] Module (.py file) that behaves like package
alan.gauld at yahoo.co.uk
Mon Oct 29 13:25:39 EDT 2018
On 29/10/2018 14:10, Quentin Agren wrote:
> ... (Maybe I should just get out more...)
That depends on whether you can foresee a use for importlib in
your code. If so then getting to know it isn't a bad thing.
If not, do you really want to be looking back on your 60th
birthday thinking "Did I really spend a week of my
life investigating importlib?"
FWIW In 20 years of using Python I've never used
importlib in any of my real-world programs...
I'm sure somebody has, but not me. So I'd spend
my time investigating modules I may actually
use, like itertools, functools, threading,
multiprocessing or asyncio... Life's too short!
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:
More information about the Tutor