Skip to main content

Convert a csv file to token separator txt file(把csv文件转换为分隔符分隔的文本文件,支持跨行单元格哦)

Project description

CSV to TXT

PyPI PyPI - Python Version PyPI - Downloads GitHub

A python util package for convert a csv file to token separator txt file.

Usage

In command line

Just install the package by pip, then enjoy it!

pip install csv2txt
csv2txt input.csv out.txt

In source code

import csv2txt

# for File Path
csv2txt.convertByPath(csvFilePathString, txtFilePathString, '\t');

# for File Object
csv2txt.convertByFile(csvFile, txtFile, '\t');

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

csv2txt-0.0.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

csv2txt-0.0.2-py2.py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 2 Python 3

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