compile the handle.read in mode 'exec' source is read from file pythonrc, execute the compiled script with imported_objects variables.
exec ( compile ( handle . read ( ) , pythonrc , 'exec' ) , imported_objects )