def localpath(*args):
 plist = ([ROOT] + list(args))
 return os.path.abspath(pjoin(*plist))

def localpath ( * args ) : plist = ( [ ROOT ] + list ( args ) ) return os . path . abspath ( pjoin ( * plist ) )
construct an absolute path from a list relative to the root pyzmq directory .