adjspecies/__init__.py
def get_file_lines(file_name):
    """Return a list of non-empty lines from `file_path`."""
    file_path = path.join(path.dirname(path.abspath(__file__)), file_name)
    with open(file_path) as file_obj:
        return [line for line in file_obj.read().splitlines() if line]
def get_file_lines(file_name):
    file_path = path.join(path.dirname(path.abspath(__file__)), file_name)
    with open(file_path) as file_obj:
        return [line for line in file_obj.read().splitlines() if line]
def get_file_lines ( file_name ) : file_path = path . join ( path . dirname ( path . abspath ( __file__ ) ) , file_name ) with open ( file_path ) as file_obj : return [ line for line in file_obj . read ( ) . splitlines ( ) if line ]
Return a list of non-empty lines from `file_path`.
Return a list of non - empty lines from file_path .