def _get_project_base(config):
 script_location = config.get_main_option('script_location')
 return script_location.split(':')[0].split('.')[0]

def _get_project_base ( config ) : script_location = config . get_main_option ( 'script_location' ) return script_location . split ( ':' ) [ 0 ] . split ( '.' ) [ 0 ]
return the base python namespace name for a project .