schrodinger.utils.imputils module

Utility functions to import python modules. Always prefer loading from a location on sys.path.

Copyright Schrodinger, LLC. All rights reserved.

schrodinger.utils.imputils.import_module_from_file(filename)

Import module from a file path. Returns the imported module object.

schrodinger.utils.imputils.import_from_file(modulename, filename)