def import_file_to_globals(env, module_name, fpath):
 mod = import_file_to_module(module_name, fpath)
 for (k, v) in mod.__dict__.items():
  env[k] = v

def import_file_to_globals ( env , module_name , fpath ) : mod = import_file_to_module ( module_name , fpath ) for ( k , v ) in mod . __dict__ . items ( ) : env [ k ] = v
import content from fpath and puts it into the dict provided .