howto/howto.py
def main(args):
    """docstring for main"""
    try:
        args.query = ' '.join(args.query).replace('?', '')
        so = SOSearch(args.query, args.tags)
        result =  so.first_q().best_answer.code
        if result != None:
            print result
        else:
            print("Sorry I can't find your answer, try adding tags")
    except NoResult, e:
        print("Sorry I can't find your answer, try adding tags")
def main(args):
    try:
        args.query = ' '.join(args.query).replace('?', '')
        so = SOSearch(args.query, args.tags)
        result =  so.first_q().best_answer.code
        if result != None:
            print result
        else:
            print("Sorry I can't find your answer, try adding tags")
    except NoResult, e:
        print("Sorry I can't find your answer, try adding tags")
def main ( args ) : try : args . query = ' ' . join ( args . query ) . replace ( '?' , '' ) so = SOSearch ( args . query , args . tags ) result = so . first_q ( ) . best_answer . code if result != None : print result else : print ( "Sorry I can't find your answer, try adding tags" ) except NoResult , e : print ( "Sorry I can't find your answer, try adding tags" )
docstring for main
docstring for main