def _control_segment_path(name):
 server_dir = os.path.dirname(os.path.abspath(__file__))
 return os.path.join(server_dir, 'control_segments', name)

def _control_segment_path ( name ) : server_dir = os . path . dirname ( os . path . abspath ( __file__ ) ) return os . path . join ( server_dir , 'control_segments' , name )
get the pathname of the named control segment file .