Source code for k1lib.bioinfo.cli.kcsv

# AUTOGENERATED FILE! PLEASE DON'T EDIT
"""All tools related to csv file format. Expected to use behind the "kcsv"
module name, like this::

    from k1lib.bioinfo.cli import *
    kcsv.cat("file.csv") | display()
"""
import k1lib.bioinfo.cli as _cli
import csv as _csv
from typing import Iterator as _Iterator
[docs]def cat(file:str) -> _Iterator[str]: """Opens a csv file, and turns them into nice row elements""" with open(file) as f: yield from _csv.reader(f)