def load_module(filename):
basename = os.path.basename(filename)<EOL>path = os.path.dirname(filename)<EOL>sys.path.append(path)<EOL>return __import__(os.path.splitext(basename)[<NUM_LIT:0>])<EOL>
Loads a module by filename