def join_field ( path ) : output = "." . join ( [ f . replace ( "." , "\\." ) for f in path if f != None ] ) return output if output else "."
python white space in path
RETURN field SEQUENCE AS STRING
def join_field(path):
    """
    RETURN field SEQUENCE AS STRING
    """
    output = ".".join([f.replace(".", "\\.") for f in path if f != None])
    return output if output else "."