Convert a csv file to token separator txt file(把csv文件转换为分隔符分隔的文本文件,支持跨行单元格哦)
Project description
CSV to TXT
A python util package for convert a csv file to token separator txt file.
- HomePage: https://pypi.org/project/csv2txt/
- SourceCode: https://github.com/gyk001/csv2txt
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for csv2txt-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe8b14f90012f0c3909b0874f58aed852d97d2bd2343f5c31cc0c741c86df96d |
|
MD5 | b5b3f2aa7c34f14c2dbffb2ec5a40c99 |
|
BLAKE2b-256 | 649a5657a1d3a941669f9f8799ee471258a8a08ddec6a0de5c26eaf60bf4f9f3 |