def set_up_gae_environment(sdk_path):
 if ('google' in sys.modules):
  reload_module(sys.modules['google'])
 sys.path.insert(0, sdk_path)
 import dev_appserver
 dev_appserver.fix_sys_path()
 import google.appengine.tools.os_compat

def set_up_gae_environment ( sdk_path ) : if ( 'google' in sys . modules ) : reload_module ( sys . modules [ 'google' ] ) sys . path . insert ( 0 , sdk_path ) import dev_appserver dev_appserver . fix_sys_path ( ) import google . appengine . tools . os_compat
set up appengine sdk third-party imports .