def quote( v ):
    if type(v) in types.StringTypes:
        return '"%s"' % v
    else: 
        return str(v)
Get help on commands
dataset/ETHPy150Open CGATOxford/cgat/obsolete/GFF.py/quote--crossover with--dataset/ETHPy150Open JoelBender/bacpypes/py34/bacpypes/consolecmd.py/ConsoleCmd.do_help