Improve subpackage handling

Issue #1 resolved
Kevin Adler created an issue

This is annoying:

from itoolkit.lib.ilibcall import *
from itoolkit.db2.idb2call import *
from itoolkit.rest.irestcall import *

Better would be

from itoolkit import iLibCall
from itoolkit import iDb2Call
from itoolkit import iRestCall

and let itoolkit package handle attempting to load the correct subpackage above and throw exception if can't be loaded.

Comments (5)

  1. Log in to comment