Skip to main content

convert csv file to tsv file.

Project description


Convert CSV file to tab-delimited TSV file.

Installation and Usage

python is installed, install with pip

pip install csv2tsv
from csv2tsv import to_csv


or copy csv2tsv folder and run

py -m csv2tsv [src_dir]

python is NOT installed, download from release and run batch file.


Use python

  • to_csv(src, [dist_dir], [encoding="utf-8"], [delimiter=","])
    • src: Source csv directory or csv file path.
    • dist_dir: Output directory. If None, a folder named tsv will be created in the same hierarchy as the src folder. (default=None)
    • encoding: Character encoding of src/dist csv. (default="utf-8")
    • delimiter: Delimiter of src csv. (default=",")

Use command

See help.

py -m csv2tsv --help


MIT License

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csv2tsv-1.1.0.tar.gz (3.3 kB view hashes)

Uploaded source

Built Distribution

csv2tsv-1.1.0-py3-none-any.whl (3.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page