def _string_like(obj):
    try:
        obj + ''
    except (__HOLE__, ValueError):
        return 0
    return 1
dataset/ETHPy150Open enthought/mayavi/mayavi/tools/data_wizards/loadtxt.py/_string_like