LingPy

lingpy.test.test.get_file

lingpy.test.test.get_file(filename)

Return a path to the filename in the testset.

Parameters :

filename : str

The name of the file (with extension) in the testset.

Examples

>>> from lingpy import *
>>> get_file('SLAV.lxs')
'/usr/local/lib/python2.6/dist-packages/lingpy/test/tests/lxs/SLAV.lxs'

Previous topic

lingpy.test.test.list_files

Next topic

lingpy.test.test.list_files