Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(1) | Call(1) | Derive(0) | Import(0)
return string form of an S expression
def putSexp (s): "return string form of an S expression" if type(s) == type([]) : if 0 and len(s) and s[0] == 'quote' : return "'" + putSexp(s[1:]) else : return '(' + string.join(map(putSexp,s)) + ')' else : return str(s)
try : s = lispio.getSexp() except : break try : print lispio.putSexp(eval(s ,Alist)) except : print '???'